[gnome-terminal] client: Include gdk
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] client: Include gdk
- Date: Sun, 20 Jan 2013 13:49:35 +0000 (UTC)
commit 68f6569cc4d632234c2f16ec6cff184e99be2738
Author: Christian Persch <chpe gnome org>
Date: Sun Jan 20 14:46:26 2013 +0100
client: Include gdk
Include gdk first, so GDK_WINDOWING_* is defined. Use #ifdef instead of #if.
src/terminal-client-utils.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/terminal-client-utils.c b/src/terminal-client-utils.c
index d30ea1a..5c44494 100644
--- a/src/terminal-client-utils.c
+++ b/src/terminal-client-utils.c
@@ -27,7 +27,8 @@
#include <gio/gio.h>
-#if GDK_WINDOWING_X11
+#include <gdk/gdk.h>
+#ifdef GDK_WINDOWING_X11
#include <gdk/gdkx.h>
#endif
@@ -137,7 +138,7 @@ terminal_client_append_exec_options (GVariantBuilder *builder,
void
terminal_client_get_fallback_startup_id (char **startup_id)
{
-#if GDK_WINDOWING_X11
+#ifdef GDK_WINDOWING_X11
GdkDisplay *display;
Display *xdisplay;
Window xwindow;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]