summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-05-26 11:05:23 +0200
committerraveit65 <[email protected]>2015-05-26 11:05:23 +0200
commit7a62bafbf0dc023c46d885913fb467c2ec372b47 (patch)
treed78852e9e9b9c0164515a7721733e36aa48b00b0
parentf71fa9d585bb6426658fac9b6236a566bb8b8fbd (diff)
downloadeom-7a62bafbf0dc023c46d885913fb467c2ec372b47.tar.bz2
eom-7a62bafbf0dc023c46d885913fb467c2ec372b47.tar.xz
set margin of statusbar to zero
-rw-r--r--src/eom-statusbar.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/eom-statusbar.c b/src/eom-statusbar.c
index 215b9db..e825e97 100644
--- a/src/eom-statusbar.c
+++ b/src/eom-statusbar.c
@@ -58,6 +58,11 @@ eom_statusbar_init (EomStatusbar *statusbar)
statusbar->priv = EOM_STATUSBAR_GET_PRIVATE (statusbar);
priv = statusbar->priv;
+#if GTK_CHECK_VERSION (3, 0, 0)
+ gtk_widget_set_margin_top (GTK_WIDGET (statusbar), 0);
+ gtk_widget_set_margin_bottom (GTK_WIDGET (statusbar), 0);
+#endif
+
priv->img_num_label = gtk_label_new (NULL);
gtk_widget_set_size_request (priv->img_num_label, 100, 10);
gtk_widget_show (priv->img_num_label);