summaryrefslogtreecommitdiff
path: root/src/glibext/gbinarycursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glibext/gbinarycursor.c')
-rw-r--r--src/glibext/gbinarycursor.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/glibext/gbinarycursor.c b/src/glibext/gbinarycursor.c
index d42b5a5..d62abfb 100644
--- a/src/glibext/gbinarycursor.c
+++ b/src/glibext/gbinarycursor.c
@@ -83,7 +83,9 @@ static bool g_binary_cursor_is_valid(const GBinaryCursor *);
static char *g_binary_cursor_build_label(const GBinaryCursor *);
/* Extrait des détails complémentaires et actualise le statut. */
+#ifdef INCLUDE_GTK_SUPPORT
static void prepare_and_show_status_from_binary_cursor(const mrange_t *, const char *, const GLoadedBinary *, GtkStatusStack *);
+#endif
/* Affiche une position dans une barre de statut. */
static void g_binary_cursor_show_status(const GBinaryCursor *, GtkStatusStack *, GLoadedContent *);
@@ -355,6 +357,7 @@ static char *g_binary_cursor_build_label(const GBinaryCursor *cursor)
* *
******************************************************************************/
+#ifdef INCLUDE_GTK_SUPPORT
static void prepare_and_show_status_from_binary_cursor(const mrange_t *range, const char *encoding, const GLoadedBinary *binary, GtkStatusStack *stack)
{
GExeFormat *format; /* Format de binaire à traiter */
@@ -423,6 +426,7 @@ static void prepare_and_show_status_from_binary_cursor(const mrange_t *range, co
free(sym_name);
}
+#endif
/******************************************************************************
@@ -441,6 +445,7 @@ static void prepare_and_show_status_from_binary_cursor(const mrange_t *range, co
static void g_binary_cursor_show_status(const GBinaryCursor *cursor, GtkStatusStack *stack, GLoadedContent *content)
{
+#ifdef INCLUDE_GTK_SUPPORT
GLoadedBinary *binary; /* Binaire chargé et analysé */
GArchProcessor *proc; /* Architecture du binaire */
mrange_t tmp; /* Emplacement réduit */
@@ -484,7 +489,7 @@ static void g_binary_cursor_show_status(const GBinaryCursor *cursor, GtkStatusSt
else
gtk_status_stack_reset_current_location(stack);
-
+#endif
}