diff options
author | infirit <[email protected]> | 2013-12-12 19:24:58 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2013-12-12 19:24:58 +0100 |
commit | 80ae554c371e53fa097a2fdd49bca7a55ac03ce5 (patch) | |
tree | 9964a1fec88aa5eff0e01f45fff1c37c93e05ddf | |
parent | 401f643f9682663603c3f2d4b8ce6267ecdcabf1 (diff) | |
download | mate-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.h | 2 |
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" { |