diff options
author | Stefano Karapetsas <[email protected]> | 2013-10-26 14:34:04 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-10-26 14:34:04 +0200 |
commit | a6efbbceb5b1122512cd01609eab99fe522d8435 (patch) | |
tree | 43a85aa03fce3f022c5db5f60579daea90cecae3 /mate-panel/nothing.cP | |
parent | fa97943c56e331668aff4b3587fe70c5edcd36b2 (diff) | |
download | mate-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.cP | 6 |
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 |