[devhelp] Window: remove useless function call in init()



commit d9003fcb9d0a36c4c4fa8b0adb53f6c04c12f5ca
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Fri Feb 9 15:16:40 2018 +0100

    Window: remove useless function call in init()
    
    The window state is anyway fully updated in
    notebook_switch_page_after_cb(), which is called during
    window_open_new_tab().

 src/dh-window.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/dh-window.c b/src/dh-window.c
index 31b3801..e4e4f76 100644
--- a/src/dh-window.c
+++ b/src/dh-window.c
@@ -831,7 +831,6 @@ dh_window_init (DhWindow *window)
                                 G_CALLBACK (notebook_switch_page_after_cb),
                                 window);
 
-        window_update_zoom_actions_state (window);
         window_open_new_tab (window, NULL, TRUE);
 
         /* Focus search in sidebar by default. */


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