diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2023-09-10 22:02:21 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2023-09-10 22:02:21 (GMT) |
commit | b370370a9e35f9dd2357102b17338d3d93bb62aa (patch) | |
tree | b8a8c5019a0705a75cf9cf8572c07219bc159076 /src/glibext/gbinportion.h | |
parent | 2424c52c4f3bc44ce5f36348442cfa103e0989c2 (diff) |
Tune the compilation using flags instead of a config file.
Diffstat (limited to 'src/glibext/gbinportion.h')
-rw-r--r-- | src/glibext/gbinportion.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/glibext/gbinportion.h b/src/glibext/gbinportion.h index 7bc1ee6..ea4b4aa 100644 --- a/src/glibext/gbinportion.h +++ b/src/glibext/gbinportion.h @@ -27,7 +27,7 @@ #include <glib-object.h> #include <stdbool.h> -#ifdef HAVE_GTK_SUPPORT +#ifdef INCLUDE_GTK_SUPPORT # include <gtk/gtk.h> #endif @@ -89,7 +89,7 @@ GBinPortion *g_binary_portion_new(const char *, const vmpa2t *, phys_t); /* Etablit la comparaison ascendante entre deux portions. */ int g_binary_portion_compare(const GBinPortion **, const GBinPortion **); -#ifdef HAVE_GTK_SUPPORT +#ifdef INCLUDE_GTK_SUPPORT /* Attribue à la portion une éventuelle image de représentation. */ void g_binary_portion_set_icon(GBinPortion *, cairo_surface_t *); @@ -123,7 +123,7 @@ void g_binary_portion_set_rights(GBinPortion *, PortionAccessRights); /* Fournit les droits associés à une partie de code. */ PortionAccessRights g_binary_portion_get_rights(const GBinPortion *); -#ifdef HAVE_GTK_SUPPORT +#ifdef INCLUDE_GTK_SUPPORT /* Prépare une astuce concernant une portion pour son affichage. */ void g_binary_portion_query_tooltip(GBinPortion *, GtkTooltip *); @@ -157,7 +157,7 @@ bool g_binary_portion_visit(GBinPortion *, visit_portion_fc, void *); /* ------------------------ PARCOURS D'ENSEMBLES DE PORTIONS ------------------------ */ -#ifdef HAVE_GTK_SUPPORT +#ifdef INCLUDE_GTK_SUPPORT /* Compte le nombre de portions présentes dans une arborescence. */ size_t g_binary_portion_count(const GBinPortion *); @@ -170,7 +170,7 @@ GBinPortion *g_binary_portion_find_at_pos(GBinPortion *, gint, GdkRectangle *); /* Recherche la portion présente à une adresse donnée. */ GBinPortion *g_binary_portion_find_at_addr(GBinPortion *, const vmpa2t *); -#ifdef HAVE_GTK_SUPPORT +#ifdef INCLUDE_GTK_SUPPORT /* Fournit la position correspondant à une adresse donnée. */ bool get_binary_portion_addr_from_pos(GBinPortion *, gint, const GdkRectangle *, vmpa2t *); |