summaryrefslogtreecommitdiff
path: root/src/eom-statusbar.c
diff options
context:
space:
mode:
authorLaszlo Boros <[email protected]>2013-08-18 01:26:29 +0200
committerStefano Karapetsas <[email protected]>2013-10-17 12:28:11 +0200
commit1e9954cbc51fc67b1e34cd6dd8f0a77a360eb4c8 (patch)
tree0051295b73ee5aa6caa0210e6a3ac7af11edf674 /src/eom-statusbar.c
parent7a364394044201fbd23a9fc5e152f512d24fd876 (diff)
downloadeom-1e9954cbc51fc67b1e34cd6dd8f0a77a360eb4c8.tar.bz2
eom-1e9954cbc51fc67b1e34cd6dd8f0a77a360eb4c8.tar.xz
GTK3 support
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