summaryrefslogtreecommitdiff
path: root/libmate-panel-applet
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-12-12 10:35:00 -0800
committerStefano Karapetsas <[email protected]>2013-12-12 10:35:00 -0800
commitf4c7c8fe62818f8acf3b2514732148a3727a3d2a (patch)
tree9964a1fec88aa5eff0e01f45fff1c37c93e05ddf /libmate-panel-applet
parentbeb21bb6c382f629d817a1c19613d07825358f5c (diff)
parent80ae554c371e53fa097a2fdd49bca7a55ac03ce5 (diff)
downloadmate-panel-f4c7c8fe62818f8acf3b2514732148a3727a3d2a.tar.bz2
mate-panel-f4c7c8fe62818f8acf3b2514732148a3727a3d2a.tar.xz
Merge pull request #148 from infirit/master
Cairo includes are only needed when using gtk+3
Diffstat (limited to 'libmate-panel-applet')
-rw-r--r--libmate-panel-applet/mate-panel-applet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmate-panel-applet/mate-panel-applet.h b/libmate-panel-applet/mate-panel-applet.h
index 35157e68..f78ac4ab 100644
--- a/libmate-panel-applet/mate-panel-applet.h
+++ b/libmate-panel-applet/mate-panel-applet.h
@@ -27,8 +27,10 @@
#include <glib.h>
#include <gtk/gtk.h>
+#if GTK_CHECK_VERSION (3, 0, 0)
#include <cairo.h>
#include <cairo-gobject.h>
+#endif
#ifdef __cplusplus
extern "C" {