summaryrefslogtreecommitdiff
path: root/plugins/statusbar-date/eom-statusbar-date-plugin.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-07-24 19:30:23 +0200
committerinfirit <[email protected]>2014-07-24 19:30:23 +0200
commitfe6fcd0cade610e4f1e64863969cc2ab566fccbf (patch)
tree9f85a3060164d4fd2e36c78750d4e3bdf0a6fb4a /plugins/statusbar-date/eom-statusbar-date-plugin.c
parent933a9b4788f3ea9c12a6117c2ccbe4517639cdac (diff)
downloadeom-fe6fcd0cade610e4f1e64863969cc2ab566fccbf.tar.bz2
eom-fe6fcd0cade610e4f1e64863969cc2ab566fccbf.tar.xz
Gtk+3: Do not call gtk_statusbar_set_has_resize_grip for statusbar-date
Diffstat (limited to 'plugins/statusbar-date/eom-statusbar-date-plugin.c')
-rw-r--r--plugins/statusbar-date/eom-statusbar-date-plugin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/statusbar-date/eom-statusbar-date-plugin.c b/plugins/statusbar-date/eom-statusbar-date-plugin.c
index 1cab0ef..3939977 100644
--- a/plugins/statusbar-date/eom-statusbar-date-plugin.c
+++ b/plugins/statusbar-date/eom-statusbar-date-plugin.c
@@ -126,7 +126,9 @@ static void impl_activate(EomPlugin* plugin, EomWindow* window)
data = g_new(WindowData, 1);
data->statusbar_date = gtk_statusbar_new();
+#if !GTK_CHECK_VERSION (3, 0, 0)
gtk_statusbar_set_has_resize_grip(GTK_STATUSBAR(data->statusbar_date), FALSE);
+#endif
gtk_widget_set_size_request(data->statusbar_date, 200, 10);
gtk_box_pack_end(GTK_BOX(statusbar), data->statusbar_date, FALSE, FALSE, 0);