summaryrefslogtreecommitdiff
path: root/libmate-panel-applet/panel-plug.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-03-22 20:15:12 +0100
committerraveit65 <[email protected]>2016-03-22 20:15:12 +0100
commitf9221b85ca81f34dc6eb258c6b160bf88ef0d7ea (patch)
tree70902289fea7c868d969fadf60a19f19050ab2b0 /libmate-panel-applet/panel-plug.c
parentb6684bd302bd6794771eb2569b2b7b1539f8be09 (diff)
downloadmate-panel-f9221b85ca81f34dc6eb258c6b160bf88ef0d7ea.tar.bz2
mate-panel-f9221b85ca81f34dc6eb258c6b160bf88ef0d7ea.tar.xz
use gtk+-3.20 custom bg fixixes only for > gtk+-3.18 and > glib-2.42
This fixes also distcheck
Diffstat (limited to 'libmate-panel-applet/panel-plug.c')
-rw-r--r--libmate-panel-applet/panel-plug.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmate-panel-applet/panel-plug.c b/libmate-panel-applet/panel-plug.c
index 549e98f9..5b0e366c 100644
--- a/libmate-panel-applet/panel-plug.c
+++ b/libmate-panel-applet/panel-plug.c
@@ -15,6 +15,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <gtk/gtk.h>
+#if GTK_CHECK_VERSION (3, 19, 0) && GLIB_CHECK_VERSION (2, 44, 0)
#include "config.h"
#include "panel-plug-private.h"
@@ -98,3 +100,4 @@ panel_plug_new (void)
{
return g_object_new (PANEL_TYPE_PLUG, NULL);
}
+#endif