[empathy] empathy_roster_window_init: don't call set_notebook_page()



commit 873b2ab2ce7dc26cb72e99ffafb0140c8a662fef
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Sep 12 10:48:11 2012 +0200

    empathy_roster_window_init: don't call set_notebook_page()
    
    We should wait for the AM to be prepared (which is done in this function)
    before calling set_notebook_page() as it calls
    empathy_account_manager_get_accounts_connected() which relies on the AM being
    prepared.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=683854

 src/empathy-roster-window.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-roster-window.c b/src/empathy-roster-window.c
index 8ce9153..0ec35e1 100644
--- a/src/empathy-roster-window.c
+++ b/src/empathy-roster-window.c
@@ -2273,8 +2273,6 @@ empathy_roster_window_init (EmpathyRosterWindow *self)
       G_CALLBACK (button_account_settings_clicked_cb), self);
   g_signal_connect (self->priv->button_online, "clicked",
       G_CALLBACK (button_online_clicked_cb), self);
-
-  set_notebook_page (self);
 }
 
 GtkWidget *



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