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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/eom-statusbar.c b/src/eom-statusbar.c
index f234dcd..c791701 100644
--- a/src/eom-statusbar.c
+++ b/src/eom-statusbar.c
@@ -58,10 +58,14 @@ eom_statusbar_init (EomStatusbar *statusbar)
statusbar->priv = EOM_STATUSBAR_GET_PRIVATE (statusbar);
priv = statusbar->priv;
+ #if !GTK_CHECK_VERSION(3, 0, 0)
gtk_statusbar_set_has_resize_grip (GTK_STATUSBAR (statusbar), TRUE);
+ #endif
priv->img_num_statusbar = gtk_statusbar_new ();
+ #if !GTK_CHECK_VERSION(3, 0, 0)
gtk_statusbar_set_has_resize_grip (GTK_STATUSBAR (priv->img_num_statusbar), FALSE);
+ #endif
gtk_widget_set_size_request (priv->img_num_statusbar, 100, 10);
gtk_widget_show (priv->img_num_statusbar);
@@ -147,6 +151,7 @@ eom_statusbar_set_progress (EomStatusbar *statusbar,
}
}
+#if !GTK_CHECK_VERSION(3, 0, 0)
void
eom_statusbar_set_has_resize_grip (EomStatusbar *statusbar, gboolean has_resize_grip)
{
@@ -155,3 +160,4 @@ eom_statusbar_set_has_resize_grip (EomStatusbar *statusbar, gboolean has_resize_
gtk_statusbar_set_has_resize_grip (GTK_STATUSBAR (statusbar),
has_resize_grip);
}
+#endif \ No newline at end of file