diff options
author | Felix Riemann <[email protected]> | 2016-10-08 19:20:00 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-04-26 21:35:11 +0200 |
commit | eea008f2a5c6f86b538d725a02d982ee85c9b5f9 (patch) | |
tree | fe1bd49074893fb1dd488fefc491da7dae080886 /src | |
parent | c8470f3d06c21985e41340dc119cc3dd65b30962 (diff) | |
download | eom-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.c | 3 |
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); } /** |