From fe6fcd0cade610e4f1e64863969cc2ab566fccbf Mon Sep 17 00:00:00 2001 From: infirit Date: Thu, 24 Jul 2014 19:30:23 +0200 Subject: Gtk+3: Do not call gtk_statusbar_set_has_resize_grip for statusbar-date --- plugins/statusbar-date/eom-statusbar-date-plugin.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.1