summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2013-12-12 19:24:58 +0100
committerinfirit <[email protected]>2013-12-12 19:24:58 +0100
commit80ae554c371e53fa097a2fdd49bca7a55ac03ce5 (patch)
tree9964a1fec88aa5eff0e01f45fff1c37c93e05ddf
parent401f643f9682663603c3f2d4b8ce6267ecdcabf1 (diff)
downloadmate-panel-80ae554c371e53fa097a2fdd49bca7a55ac03ce5.tar.bz2
mate-panel-80ae554c371e53fa097a2fdd49bca7a55ac03ce5.tar.xz
Cairo includes are only needed when using gtk+3
-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" {