summaryrefslogtreecommitdiff
path: root/libmate-panel-applet/panel-plug-private.h
diff options
context:
space:
mode:
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)