summaryrefslogtreecommitdiff
path: root/src/hub.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/hub.c
parent2424c52c4f3bc44ce5f36348442cfa103e0989c2 (diff)
Tune the compilation using flags instead of a config file.
Diffstat (limited to 'src/hub.c')
-rw-r--r--src/hub.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/hub.c b/src/hub.c
index 8a5b6f4..6e4f64d 100644
--- a/src/hub.c
+++ b/src/hub.c
@@ -31,12 +31,11 @@
#include <stdlib.h>
#include <string.h>
#include <strings.h>
-#ifdef HAVE_GTK_SUPPORT
+#ifdef INCLUDE_GTK_SUPPORT
# include <gtk/gtk.h>
#endif
-#include <config.h>
#include <i18n.h>
@@ -356,7 +355,7 @@ int main(int argc, char **argv)
/* Initialisation de GTK */
g_set_prgname("Chrysalide Hub");
-#ifdef HAVE_GTK_SUPPORT
+#ifdef INCLUDE_GTK_SUPPORT
gtk_init(&argc, &argv);
#endif