summaryrefslogtreecommitdiff
path: root/libmate-panel-applet/panel-plug-private.h
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-11-21 18:56:46 +0300
committermonsta <[email protected]>2016-11-21 18:56:46 +0300
commit615eda9a394167fbc5e4f6bf4f3668e2c8aff080 (patch)
tree68befa101d659a693d741c6cccd3b84c3fe8243c /libmate-panel-applet/panel-plug-private.h
parent762dd7e1eb33dc408c5fae091d0284ba71e4d0a0 (diff)
downloadmate-panel-615eda9a394167fbc5e4f6bf4f3668e2c8aff080.tar.bz2
mate-panel-615eda9a394167fbc5e4f6bf4f3668e2c8aff080.tar.xz
libmate-panel-applet: remove redundant GLib version check in panel-plug
Diffstat (limited to 'libmate-panel-applet/panel-plug-private.h')
-rw-r--r--libmate-panel-applet/panel-plug-private.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libmate-panel-applet/panel-plug-private.h b/libmate-panel-applet/panel-plug-private.h
index 182bf502..4a69184e 100644
--- a/libmate-panel-applet/panel-plug-private.h
+++ b/libmate-panel-applet/panel-plug-private.h
@@ -19,12 +19,16 @@
#define PANEL_PLUG_PRIVATE_H
#include <gtk/gtk.h>
-#if GTK_CHECK_VERSION (3, 18, 0) && GLIB_CHECK_VERSION (2, 44, 0)
+#if GTK_CHECK_VERSION (3, 18, 0)
#include <gtk/gtkx.h>
G_BEGIN_DECLS
+/* G_DECLARE_FINAL_TYPE is available only since GLib 2.44,
+ * but GTK+ 3.18 already requires 2.45.8, so we're safe.
+ */
+
#define PANEL_TYPE_PLUG panel_plug_get_type ()
G_DECLARE_FINAL_TYPE (PanelPlug, panel_plug, PANEL, PLUG, GtkPlug)