summaryrefslogtreecommitdiff
path: root/src/eom-scroll-view.c
diff options
context:
space:
mode:
authorlyokha <[email protected]>2015-06-22 18:15:53 +0300
committerlyokha <[email protected]>2015-06-22 18:15:53 +0300
commit63eee4d641692a07f41bce3b7fd21668d8fe2f1e (patch)
treefc94c26a84b9b6b3694091ffe12140b53a0570fb /src/eom-scroll-view.c
parentda72e553542c392d18df42c6ab4efcfc60b1dab8 (diff)
downloadeom-63eee4d641692a07f41bce3b7fd21668d8fe2f1e.tar.bz2
eom-63eee4d641692a07f41bce3b7fd21668d8fe2f1e.tar.xz
mispositioned brackets in update_scrollbar_values
make high images scroll bad after zoom-ins until hbar appears
Diffstat (limited to 'src/eom-scroll-view.c')
-rw-r--r--src/eom-scroll-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eom-scroll-view.c b/src/eom-scroll-view.c
index 364ca7f..d3015c6 100644
--- a/src/eom-scroll-view.c
+++ b/src/eom-scroll-view.c
@@ -351,6 +351,7 @@ update_scrollbar_values (EomScrollView *view)
g_signal_handlers_unblock_matched (
priv->hadj, G_SIGNAL_MATCH_DATA,
0, 0, NULL, NULL, view);
+ }
if (gtk_widget_get_visible (GTK_WIDGET (priv->vbar))) {
page_size = MIN (scaled_height, allocation.height);
@@ -372,7 +373,6 @@ update_scrollbar_values (EomScrollView *view)
g_signal_handlers_unblock_matched (
priv->vadj, G_SIGNAL_MATCH_DATA,
0, 0, NULL, NULL, view);
- }
}
}