summaryrefslogtreecommitdiff
path: root/libmate-panel-applet
diff options
context:
space:
mode:
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" {