summaryrefslogtreecommitdiff
path: root/src/glibext/generators/hex.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2023-09-10 22:02:21 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2023-09-10 22:02:21 (GMT)
commitb370370a9e35f9dd2357102b17338d3d93bb62aa (patch)
treeb8a8c5019a0705a75cf9cf8572c07219bc159076 /src/glibext/generators/hex.c
parent2424c52c4f3bc44ce5f36348442cfa103e0989c2 (diff)
Tune the compilation using flags instead of a config file.
Diffstat (limited to 'src/glibext/generators/hex.c')
-rw-r--r--src/glibext/generators/hex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glibext/generators/hex.c b/src/glibext/generators/hex.c
index b182176..d9e5251 100644
--- a/src/glibext/generators/hex.c
+++ b/src/glibext/generators/hex.c
@@ -90,7 +90,7 @@ static void g_hex_generator_finalize(GHexGenerator *);
/* Indique le nombre de ligne prêtes à être générées. */
static size_t g_hex_generator_count_lines(const GHexGenerator *);
-#ifdef HAVE_GTK_SUPPORT
+#ifdef INCLUDE_GTK_SUPPORT
/* Retrouve l'emplacement correspondant à une position donnée. */
static void g_hex_generator_compute_cursor(const GHexGenerator *, gint, size_t, size_t, GLineCursor **);
@@ -203,7 +203,7 @@ static void g_hex_generator_init(GHexGenerator *generator)
static void g_hex_generator_interface_init(GLineGeneratorInterface *iface)
{
iface->count = (linegen_count_lines_fc)g_hex_generator_count_lines;
-#ifdef HAVE_GTK_SUPPORT
+#ifdef INCLUDE_GTK_SUPPORT
iface->compute = (linegen_compute_fc)g_hex_generator_compute_cursor;
iface->contain = (linegen_contain_fc)g_hex_generator_contain_cursor;
#endif
@@ -316,7 +316,7 @@ static size_t g_hex_generator_count_lines(const GHexGenerator *generator)
}
-#ifdef HAVE_GTK_SUPPORT
+#ifdef INCLUDE_GTK_SUPPORT
/******************************************************************************