aboutsummaryrefslogtreecommitdiff
path: root/src/main/gnunet-gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/gnunet-gtk.c')
-rw-r--r--src/main/gnunet-gtk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/gnunet-gtk.c b/src/main/gnunet-gtk.c
index 542edc7d..cc6c3c48 100644
--- a/src/main/gnunet-gtk.c
+++ b/src/main/gnunet-gtk.c
@@ -24,7 +24,7 @@
24 * @brief Gtk user interface for GNUnet 24 * @brief Gtk user interface for GNUnet
25 */ 25 */
26#include "gnunet_gtk.h" 26#include "gnunet_gtk.h"
27#if HAVE_GTK_GTKX_H 27#ifdef GDK_WINDOWING_X11
28#include <gtk/gtkx.h> 28#include <gtk/gtkx.h>
29#endif 29#endif
30 30
@@ -170,7 +170,7 @@ gnunet_gtk_quit_cb (GObject * object,
170} 170}
171 171
172 172
173#if HAVE_GTK_GTKX_H 173#ifdef GDK_WINDOWING_X11
174/** 174/**
175 * Start the child process for the plug. 175 * Start the child process for the plug.
176 * 176 *
@@ -298,7 +298,7 @@ run (void *cls,
298 main_window = GTK_WIDGET (get_object ("gnunet_gtk_window")); 298 main_window = GTK_WIDGET (get_object ("gnunet_gtk_window"));
299 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, 299 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL,
300 &cleanup_task, NULL); 300 &cleanup_task, NULL);
301#if HAVE_GTK_GTKX_H 301#ifdef GDK_WINDOWING_X11
302 plug ("gnunet_statistics_hbox", 302 plug ("gnunet_statistics_hbox",
303 "gnunet-statistics-gtk", 303 "gnunet-statistics-gtk",
304 "GNUNET_STATISTICS_GTK_PLUG"); 304 "GNUNET_STATISTICS_GTK_PLUG");