commit a2fe3fd40f7c275ff7dc67a581d6361dcbee730a
parent 9e6d0bb29a56a918878c89c10d7be9d779904779
Author: Andrej Kacian <ticho@claws-mail.org>
Date: Mon, 12 Nov 2018 21:23:38 +0100
Restored a mistakenly removed ifdef.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/gtk/gtkshruler.c b/src/gtk/gtkshruler.c
@@ -195,7 +195,9 @@ gtk_shruler_class_init (GtkSHRulerClass *klass)
widget_class->motion_notify_event = gtk_shruler_motion_notify;
widget_class->expose_event = gtk_shruler_expose;
+#if !GLIB_CHECK_VERSION(2, 58, 0)
g_type_class_add_private (object_class, sizeof (GtkSHRulerPrivate));
+#endif
g_object_class_install_property (object_class,
PROP_ORIENTATION,