diff options
-rw-r--r-- | libempathy-gtk/empathy-account-chooser.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-account-chooser.c b/libempathy-gtk/empathy-account-chooser.c index 809c2933a..10ca143d2 100644 --- a/libempathy-gtk/empathy-account-chooser.c +++ b/libempathy-gtk/empathy-account-chooser.c @@ -123,6 +123,7 @@ enum { COL_ACCOUNT_COUNT }; +static void account_chooser_constructed (GObject *object); static void account_chooser_finalize (GObject *object); static void account_chooser_get_property (GObject *object, guint param_id, @@ -180,6 +181,7 @@ empathy_account_chooser_class_init (EmpathyAccountChooserClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); + object_class->constructed = account_chooser_constructed; object_class->finalize = account_chooser_finalize; object_class->get_property = account_chooser_get_property; object_class->set_property = account_chooser_set_property; @@ -230,8 +232,14 @@ empathy_account_chooser_init (EmpathyAccountChooser *chooser) g_signal_connect (priv->manager, "account-removed", G_CALLBACK (account_chooser_account_removed_cb), chooser); +} + +static void +account_chooser_constructed (GObject *object) +{ + EmpathyAccountChooser *self = (EmpathyAccountChooser *) object; - account_chooser_setup (EMPATHY_ACCOUNT_CHOOSER (chooser)); + account_chooser_setup (self); } static void |