From 1b7904f4d6c5c49ffc0b32ff76032f83718a606b Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Sun, 20 Jan 2008 21:42:04 +0000 Subject: Do not take show_groups in empathy_contact_list_store_new svn path=/trunk/; revision=587 --- libempathy-gtk/empathy-contact-list-store.c | 4 +--- libempathy-gtk/empathy-contact-list-store.h | 3 +-- libempathy-gtk/empathy-group-chat.c | 2 +- libempathy-gtk/empathy-main-window.c | 2 +- 4 files changed, 4 insertions(+), 7 deletions(-) (limited to 'libempathy-gtk') diff --git a/libempathy-gtk/empathy-contact-list-store.c b/libempathy-gtk/empathy-contact-list-store.c index b430addd8..bd5e9bc5e 100644 --- a/libempathy-gtk/empathy-contact-list-store.c +++ b/libempathy-gtk/empathy-contact-list-store.c @@ -394,14 +394,12 @@ contact_list_store_set_property (GObject *object, } EmpathyContactListStore * -empathy_contact_list_store_new (EmpathyContactList *list_iface, - gboolean show_groups) +empathy_contact_list_store_new (EmpathyContactList *list_iface) { g_return_val_if_fail (EMPATHY_IS_CONTACT_LIST (list_iface), NULL); return g_object_new (EMPATHY_TYPE_CONTACT_LIST_STORE, "contact-list", list_iface, - "show-groups", show_groups, NULL); } diff --git a/libempathy-gtk/empathy-contact-list-store.h b/libempathy-gtk/empathy-contact-list-store.h index 0dd6e43ac..6766a4e97 100644 --- a/libempathy-gtk/empathy-contact-list-store.h +++ b/libempathy-gtk/empathy-contact-list-store.h @@ -73,8 +73,7 @@ struct _EmpathyContactListStoreClass { }; GType empathy_contact_list_store_get_type (void) G_GNUC_CONST; -EmpathyContactListStore * empathy_contact_list_store_new (EmpathyContactList *list_iface, - gboolean show_groups); +EmpathyContactListStore * empathy_contact_list_store_new (EmpathyContactList *list_iface); EmpathyContactList * empathy_contact_list_store_get_list_iface (EmpathyContactListStore *store); gboolean empathy_contact_list_store_get_show_offline (EmpathyContactListStore *store); void empathy_contact_list_store_set_show_offline (EmpathyContactListStore *store, diff --git a/libempathy-gtk/empathy-group-chat.c b/libempathy-gtk/empathy-group-chat.c index 8f361237a..534f66c27 100644 --- a/libempathy-gtk/empathy-group-chat.c +++ b/libempathy-gtk/empathy-group-chat.c @@ -526,7 +526,7 @@ group_chat_set_tp_chat (EmpathyChat *chat, } /* Create contact list */ - priv->store = empathy_contact_list_store_new (EMPATHY_CONTACT_LIST (priv->tp_chat), TRUE); + priv->store = empathy_contact_list_store_new (EMPATHY_CONTACT_LIST (priv->tp_chat)); priv->view = empathy_contact_list_view_new (priv->store, EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CHAT | EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CALL | diff --git a/libempathy-gtk/empathy-main-window.c b/libempathy-gtk/empathy-main-window.c index 03f11e58c..d0353419a 100644 --- a/libempathy-gtk/empathy-main-window.c +++ b/libempathy-gtk/empathy-main-window.c @@ -284,7 +284,7 @@ empathy_main_window_show (void) empathy_status_presets_get_all (); list_iface = EMPATHY_CONTACT_LIST (empathy_contact_manager_new ()); - window->list_store = empathy_contact_list_store_new (list_iface, TRUE); + window->list_store = empathy_contact_list_store_new (list_iface); window->list_view = empathy_contact_list_view_new (window->list_store, EMPATHY_CONTACT_LIST_FEATURE_ALL); g_object_unref (list_iface); -- cgit v1.2.3