diff options
Diffstat (limited to 'src/hub.c')
-rw-r--r-- | src/hub.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -31,7 +31,9 @@ #include <stdlib.h> #include <string.h> #include <strings.h> -#include <gtk/gtk.h> +#ifdef HAVE_GTK_SUPPORT +# include <gtk/gtk.h> +#endif #include <config.h> @@ -354,7 +356,9 @@ int main(int argc, char **argv) /* Initialisation de GTK */ g_set_prgname("Chrysalide Hub"); +#ifdef HAVE_GTK_SUPPORT gtk_init(&argc, &argv); +#endif /* Initialisation du programme */ |