diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/eom-scroll-view.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/eom-scroll-view.c b/src/eom-scroll-view.c index 81d9d70..d939d35 100644 --- a/src/eom-scroll-view.c +++ b/src/eom-scroll-view.c @@ -2497,7 +2497,11 @@ eom_scroll_view_init (EomScrollView *view) G_CALLBACK (adjustment_changed_cb), view); +#if GTK_CHECK_VERSION (3, 2, 0) + priv->vbar = gtk_scrollbar_new (GTK_ORIENTATION_VERTICAL, priv->vadj); +#else priv->vbar = gtk_vscrollbar_new (priv->vadj); +#endif priv->display = g_object_new (GTK_TYPE_DRAWING_AREA, "can-focus", TRUE, NULL); |