summaryrefslogtreecommitdiff
path: root/stickynotes/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'stickynotes/util.c')
-rw-r--r--stickynotes/util.c4
1 files changed, 4 insertions, 0 deletions
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 <gdk/gdkx.h>
#include <gtk/gtk.h>
+#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)