diff options
author | Frédéric Péters <fpeters@0d.be> | 2014-07-09 20:46:39 +0800 |
---|---|---|
committer | Debarshi Ray <debarshir@gnome.org> | 2014-08-12 20:37:03 +0800 |
commit | 574d65ff37d4f76afc288400e7cab471e93b9f3b (patch) | |
tree | 35d765651eb4a3423ba20987525140a8a78f7b82 /libempathy-gtk | |
parent | e134dd342599ea69bdca19ac7ca27f5ecd1fd634 (diff) | |
download | gsoc2013-empathy-574d65ff37d4f76afc288400e7cab471e93b9f3b.tar gsoc2013-empathy-574d65ff37d4f76afc288400e7cab471e93b9f3b.tar.gz gsoc2013-empathy-574d65ff37d4f76afc288400e7cab471e93b9f3b.tar.bz2 gsoc2013-empathy-574d65ff37d4f76afc288400e7cab471e93b9f3b.tar.lz gsoc2013-empathy-574d65ff37d4f76afc288400e7cab471e93b9f3b.tar.xz gsoc2013-empathy-574d65ff37d4f76afc288400e7cab471e93b9f3b.tar.zst gsoc2013-empathy-574d65ff37d4f76afc288400e7cab471e93b9f3b.zip |
libempathy-gtk: chain GtkCombobox subclass constructors to parent
https://bugzilla.gnome.org/show_bug.cgi?id=732909
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-account-chooser.c | 4 | ||||
-rw-r--r-- | libempathy-gtk/empathy-presence-chooser.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-account-chooser.c b/libempathy-gtk/empathy-account-chooser.c index 69fc54fe2..1d6a491c0 100644 --- a/libempathy-gtk/empathy-account-chooser.c +++ b/libempathy-gtk/empathy-account-chooser.c @@ -313,6 +313,10 @@ account_chooser_constructed (GObject *object) GtkCellRenderer *renderer; GtkComboBox *combobox; + if (G_OBJECT_CLASS (empathy_account_chooser_parent_class)->constructed) + G_OBJECT_CLASS + (empathy_account_chooser_parent_class)->constructed (object); + /* Set up combo box with new store */ combobox = GTK_COMBO_BOX (self); diff --git a/libempathy-gtk/empathy-presence-chooser.c b/libempathy-gtk/empathy-presence-chooser.c index 6ff113d2d..da08718cb 100644 --- a/libempathy-gtk/empathy-presence-chooser.c +++ b/libempathy-gtk/empathy-presence-chooser.c @@ -828,6 +828,9 @@ presence_chooser_constructed (GObject *object) GtkCellRenderer *renderer; const gchar *status_tooltip; + if (G_OBJECT_CLASS (empathy_presence_chooser_parent_class)->constructed) + G_OBJECT_CLASS (empathy_presence_chooser_parent_class)->constructed (object); + presence_chooser_create_model (chooser); gtk_combo_box_set_entry_text_column (GTK_COMBO_BOX (chooser), |