From 80ae554c371e53fa097a2fdd49bca7a55ac03ce5 Mon Sep 17 00:00:00 2001 From: infirit Date: Thu, 12 Dec 2013 19:24:58 +0100 Subject: Cairo includes are only needed when using gtk+3 --- libmate-panel-applet/mate-panel-applet.h | 2 ++ 1 file changed, 2 insertions(+) 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 #include +#if GTK_CHECK_VERSION (3, 0, 0) #include #include +#endif #ifdef __cplusplus extern "C" { -- cgit v1.2.1