[eog] EogThumbNav: Fix deprecated function warning



commit 4c86268436464ad17fcb75a45f73462b1300ef6a
Author: Felix Riemann <friemann gnome org>
Date:   Sat Oct 8 19:20:00 2016 +0200

    EogThumbNav: Fix deprecated function warning
    
    Just call the callback function directly as that's why
    the signal was manually triggered in the first place.

 src/eog-thumb-nav.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/eog-thumb-nav.c b/src/eog-thumb-nav.c
index 1ac47e1..8b1a58f 100644
--- a/src/eog-thumb-nav.c
+++ b/src/eog-thumb-nav.c
@@ -422,7 +422,8 @@ eog_thumb_nav_init (EogThumbNav *nav)
                          G_CALLBACK (eog_thumb_nav_stop_scroll),
                          nav);
 
-       gtk_adjustment_value_changed (priv->adj);
+       /* Update nav button states */
+       eog_thumb_nav_adj_value_changed (priv->adj, nav);
 }
 
 /**


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]