summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@0d.be>2014-07-09 14:46:39 +0200
committerDebarshi Ray <debarshir@gnome.org>2014-08-12 14:37:03 +0200
commit574d65ff37d4f76afc288400e7cab471e93b9f3b (patch)
tree35d765651eb4a3423ba20987525140a8a78f7b82
parente134dd342599ea69bdca19ac7ca27f5ecd1fd634 (diff)
libempathy-gtk: chain GtkCombobox subclass constructors to parent
https://bugzilla.gnome.org/show_bug.cgi?id=732909
-rw-r--r--libempathy-gtk/empathy-account-chooser.c4
-rw-r--r--libempathy-gtk/empathy-presence-chooser.c3
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),