aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2009-06-07 20:45:58 +0800
committerJonny Lamb <jonny.lamb@collabora.co.uk>2009-06-07 20:45:58 +0800
commit71a29e5e3c19c219399c3354f53c932b5d02804e (patch)
tree1113d933e72104eec1116f3df7db76d653b10d89
parent4f7bc97c36095dad43bb183105d49c713cf74bfe (diff)
downloadgsoc2013-empathy-71a29e5e3c19c219399c3354f53c932b5d02804e.tar
gsoc2013-empathy-71a29e5e3c19c219399c3354f53c932b5d02804e.tar.gz
gsoc2013-empathy-71a29e5e3c19c219399c3354f53c932b5d02804e.tar.bz2
gsoc2013-empathy-71a29e5e3c19c219399c3354f53c932b5d02804e.tar.lz
gsoc2013-empathy-71a29e5e3c19c219399c3354f53c932b5d02804e.tar.xz
gsoc2013-empathy-71a29e5e3c19c219399c3354f53c932b5d02804e.tar.zst
gsoc2013-empathy-71a29e5e3c19c219399c3354f53c932b5d02804e.zip
Implement constructed instead of constructor.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r--libempathy-gtk/empathy-profile-chooser.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/libempathy-gtk/empathy-profile-chooser.c b/libempathy-gtk/empathy-profile-chooser.c
index a870707d1..2fbcaeced 100644
--- a/libempathy-gtk/empathy-profile-chooser.c
+++ b/libempathy-gtk/empathy-profile-chooser.c
@@ -123,12 +123,9 @@ profile_chooser_sort_func (GtkTreeModel *model,
return cmp;
}
-static GObject *
-profile_chooser_constructor (GType type,
- guint n_construct_params,
- GObjectConstructParam *construct_params)
+static void
+profile_chooser_constructed (GObject *object)
{
- GObject *object;
EmpathyProfileChooser *profile_chooser;
EmpathyProfileChooserPriv *priv;
@@ -138,8 +135,6 @@ profile_chooser_constructor (GType type,
gboolean iter_set = FALSE;
McManager *btf_cm;
- object = G_OBJECT_CLASS (empathy_profile_chooser_parent_class)->constructor (
- type, n_construct_params, construct_params);
priv = GET_PRIV (object);
profile_chooser = EMPATHY_PROFILE_CHOOSER (object);
@@ -220,8 +215,6 @@ profile_chooser_constructor (GType type,
gtk_combo_box_set_active_iter (GTK_COMBO_BOX (object), &iter);
mc_profiles_free_list (profiles);
-
- return object;
}
static void
@@ -261,7 +254,7 @@ empathy_profile_chooser_class_init (EmpathyProfileChooserClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
- object_class->constructor = profile_chooser_constructor;
+ object_class->constructed = profile_chooser_constructed;
object_class->dispose = profile_chooser_dispose;
g_type_class_add_private (object_class, sizeof (EmpathyProfileChooserPriv));