diff options
author | monsta <[email protected]> | 2016-11-21 22:28:15 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-11-21 22:28:15 +0300 |
commit | 9a94231819bbfaf23e477dc27c3966903ebdf1e1 (patch) | |
tree | 643b864764f69ce556ceeac785a2ed6e6f7c44d2 /src/eom-statusbar.c | |
parent | e85aca3ba0c5f59b12fd557285cc74dbbb8bf909 (diff) | |
download | eom-9a94231819bbfaf23e477dc27c3966903ebdf1e1.tar.bz2 eom-9a94231819bbfaf23e477dc27c3966903ebdf1e1.tar.xz |
move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option
and require libmate-desktop >= 1.17
Diffstat (limited to 'src/eom-statusbar.c')
-rw-r--r-- | src/eom-statusbar.c | 9 |
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, |