summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Riemann <[email protected]>2016-10-08 19:20:00 +0200
committerraveit65 <[email protected]>2017-04-26 21:35:11 +0200
commiteea008f2a5c6f86b538d725a02d982ee85c9b5f9 (patch)
treefe1bd49074893fb1dd488fefc491da7dae080886 /src
parentc8470f3d06c21985e41340dc119cc3dd65b30962 (diff)
downloadeom-eea008f2a5c6f86b538d725a02d982ee85c9b5f9.tar.bz2
eom-eea008f2a5c6f86b538d725a02d982ee85c9b5f9.tar.xz
EomThumbNav: Fix deprecated function warning
Just call the callback function directly as that's why the signal was manually triggered in the first place. taken from: https://git.gnome.org/browse/eog/commit/?id=4c86268
Diffstat (limited to 'src')
-rw-r--r--src/eom-thumb-nav.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/eom-thumb-nav.c b/src/eom-thumb-nav.c
index 32af574..73d2193 100644
--- a/src/eom-thumb-nav.c
+++ b/src/eom-thumb-nav.c
@@ -435,7 +435,8 @@ eom_thumb_nav_init (EomThumbNav *nav)
G_CALLBACK (eom_thumb_nav_stop_scroll),
nav);
- gtk_adjustment_value_changed (priv->adj);
+ /* Update nav button states */
+ eom_thumb_nav_adj_value_changed (priv->adj, nav);
}
/**