From 3da42cef82ee714a2271849275dfeea3b03ed508 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Sun, 19 Jan 2014 21:36:42 +0100 Subject: stickynotes: Add GTK3 support --- stickynotes/util.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'stickynotes/util.c') diff --git a/stickynotes/util.c b/stickynotes/util.c index 43139f4f..6748c7fc 100644 --- a/stickynotes/util.c +++ b/stickynotes/util.c @@ -28,6 +28,10 @@ #include #include +#if GTK_CHECK_VERSION (3, 0, 0) +#define GDK_WINDOW_XWINDOW GDK_WINDOW_XID +#endif + /* Returns the current date in a customizable form, the default * looks like this: "Nov 30, '78" */ gchar * get_current_date(const gchar *format) -- cgit v1.2.1