summaryrefslogtreecommitdiff
path: root/src/eom-statusbar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eom-statusbar.c')
-rw-r--r--src/eom-statusbar.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/eom-statusbar.c b/src/eom-statusbar.c
index 4c01536..b13ad0b 100644
--- a/src/eom-statusbar.c
+++ b/src/eom-statusbar.c
@@ -33,11 +33,6 @@
#define EOM_STATUSBAR_GET_PRIVATE(object) \
(G_TYPE_INSTANCE_GET_PRIVATE ((object), EOM_TYPE_STATUSBAR, EomStatusbarPrivate))
-#if GTK_CHECK_VERSION (3, 2, 0)
-#define gtk_hbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL,Y)
-#define gtk_vbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_VERTICAL,Y)
-#endif
-
G_DEFINE_TYPE (EomStatusbar, eom_statusbar, GTK_TYPE_STATUSBAR)
struct _EomStatusbarPrivate
@@ -63,10 +58,8 @@ 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);
@@ -78,7 +71,7 @@ eom_statusbar_init (EomStatusbar *statusbar)
TRUE,
0);
- vbox = gtk_vbox_new (FALSE, 0);
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
gtk_box_pack_end (GTK_BOX (statusbar),
vbox,