summaryrefslogtreecommitdiff
path: root/mate-panel/nothing.cP
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-10-26 14:34:04 +0200
committerStefano Karapetsas <[email protected]>2013-10-26 14:34:04 +0200
commita6efbbceb5b1122512cd01609eab99fe522d8435 (patch)
tree43a85aa03fce3f022c5db5f60579daea90cecae3 /mate-panel/nothing.cP
parentfa97943c56e331668aff4b3587fe70c5edcd36b2 (diff)
downloadmate-panel-a6efbbceb5b1122512cd01609eab99fe522d8435.tar.bz2
mate-panel-a6efbbceb5b1122512cd01609eab99fe522d8435.tar.xz
mate-panel: Add GTK3 support
Diffstat (limited to 'mate-panel/nothing.cP')
-rw-r--r--mate-panel/nothing.cP6
1 files changed, 6 insertions, 0 deletions
diff --git a/mate-panel/nothing.cP b/mate-panel/nothing.cP
index 4ce1f246..cfb935c5 100644
--- a/mate-panel/nothing.cP
+++ b/mate-panel/nothing.cP
@@ -4,7 +4,11 @@
#include <X11/Xlib.h>
#include <cairo.h>
+#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
+#if GTK_CHECK_VERSION (3, 0, 0)
+#include <gdk/gdkkeysyms-compat.h>
+#endif
#include <canberra-gtk.h>
#ifdef CA_CHECK_VERSION
@@ -16,6 +20,7 @@
#include "panel-util.h"
#include "nothing.h"
+#if !GTK_CHECK_VERSION (3, 0, 0)
static void
pixbuf_reverse (GdkPixbuf *gp)
{
@@ -1566,3 +1571,4 @@ panel_dialog_window_event (GtkWidget *window,
return FALSE;
}
+#endif \ No newline at end of file