diff options
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-contact-selector.c | 4 | ||||
-rw-r--r-- | libempathy-gtk/empathy-contact-selector.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-contact-selector.c b/libempathy-gtk/empathy-contact-selector.c index aafffdc84..eb1e67689 100644 --- a/libempathy-gtk/empathy-contact-selector.c +++ b/libempathy-gtk/empathy-contact-selector.c @@ -334,12 +334,12 @@ empathy_contact_selector_class_init (EmpathyContactSelectorClass *klass) /* public methods */ -EmpathyContactSelector * +GtkWidget * empathy_contact_selector_new (EmpathyContactListStore *store) { g_return_val_if_fail (EMPATHY_IS_CONTACT_LIST_STORE (store), NULL); - return g_object_new (EMPATHY_TYPE_CONTACT_SELECTOR, "store", store, NULL); + return GTK_WIDGET (g_object_new (EMPATHY_TYPE_CONTACT_SELECTOR, "store", store, NULL)); } EmpathyContact * diff --git a/libempathy-gtk/empathy-contact-selector.h b/libempathy-gtk/empathy-contact-selector.h index 1418f7cd3..238cbbbb9 100644 --- a/libempathy-gtk/empathy-contact-selector.h +++ b/libempathy-gtk/empathy-contact-selector.h @@ -58,7 +58,7 @@ struct _EmpathyContactSelectorClass }; GType empathy_contact_selector_get_type (void) G_GNUC_CONST; -EmpathyContactSelector * +GtkWidget * empathy_contact_selector_new (EmpathyContactListStore *store); EmpathyContact * |