[gnome-todo] sidebar: Don't call the callback too early



commit d8619c025be9b52418c3eff75d6ce855ddd049eb
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sat Jul 20 12:33:58 2019 -0300

    sidebar: Don't call the callback too early

 src/sidebar/gtd-sidebar.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/sidebar/gtd-sidebar.c b/src/sidebar/gtd-sidebar.c
index 3f004c0..8aec016 100644
--- a/src/sidebar/gtd-sidebar.c
+++ b/src/sidebar/gtd-sidebar.c
@@ -762,7 +762,6 @@ gtd_sidebar_set_panel_stack (GtdSidebar *self,
 
   self->panel_stack = g_object_ref (stack);
 
-  on_panel_stack_visible_child_changed_cb (stack, NULL, self);
   g_signal_connect_object (stack,
                            "notify::visible-child",
                            G_CALLBACK (on_panel_stack_visible_child_changed_cb),


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