[gtk+] application: Fix build without x11
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] application: Fix build without x11
- Date: Thu, 3 May 2012 16:49:00 +0000 (UTC)
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]