[gtk+] application: Fix build without x11



commit 4b4ec4472ca5dffc38bf53f2bcf024ef647052b7
Author: Christian Persch <chpe gnome org>
Date:   Thu May 3 18:47:58 2012 +0200

    application: Fix build without x11

 gtk/gtkapplication.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c
index 8758fc3..33a1b61 100644
--- a/gtk/gtkapplication.c
+++ b/gtk/gtkapplication.c
@@ -502,7 +502,9 @@ gtk_application_init (GtkApplication *application)
                                                    GTK_TYPE_APPLICATION,
                                                    GtkApplicationPrivate);
 
+#ifdef GDK_WINDOWING_X11
   application->priv->next_id = 1;
+#endif
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]