From ddc313b2738c4fadcad68561cb41496f46ea0bed Mon Sep 17 00:00:00 2001 From: raveit65 Date: Mon, 10 Aug 2015 18:56:12 +0200 Subject: GTK3: reduce height of statusbar - setting margin to 0px --- logview/logview-window.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/logview/logview-window.c b/logview/logview-window.c index 116aca51..bc3f8a4e 100644 --- a/logview/logview-window.c +++ b/logview/logview-window.c @@ -1419,6 +1419,10 @@ logview_window_init (LogviewWindow *logview) /* status area at bottom */ priv->statusbar = gtk_statusbar_new (); +#if GTK_CHECK_VERSION (3, 0, 0) + gtk_widget_set_margin_top (GTK_WIDGET (logview->priv->statusbar), 0); + gtk_widget_set_margin_bottom (GTK_WIDGET (logview->priv->statusbar), 0); +#endif gtk_box_pack_start (GTK_BOX (vbox), priv->statusbar, FALSE, FALSE, 0); gtk_widget_show (priv->statusbar); -- cgit v1.2.1