aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-01-21 05:42:04 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-01-21 05:42:04 +0800
commit1b7904f4d6c5c49ffc0b32ff76032f83718a606b (patch)
tree69cc4bfe4683fa6cd882d9fbfcc93e2397516042 /libempathy-gtk
parenteccbc4d73eca63fd700d89f9bc31dcad7cb17edc (diff)
downloadgsoc2013-empathy-1b7904f4d6c5c49ffc0b32ff76032f83718a606b.tar
gsoc2013-empathy-1b7904f4d6c5c49ffc0b32ff76032f83718a606b.tar.gz
gsoc2013-empathy-1b7904f4d6c5c49ffc0b32ff76032f83718a606b.tar.bz2
gsoc2013-empathy-1b7904f4d6c5c49ffc0b32ff76032f83718a606b.tar.lz
gsoc2013-empathy-1b7904f4d6c5c49ffc0b32ff76032f83718a606b.tar.xz
gsoc2013-empathy-1b7904f4d6c5c49ffc0b32ff76032f83718a606b.tar.zst
gsoc2013-empathy-1b7904f4d6c5c49ffc0b32ff76032f83718a606b.zip
Do not take show_groups in empathy_contact_list_store_new
svn path=/trunk/; revision=587
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-contact-list-store.c4
-rw-r--r--libempathy-gtk/empathy-contact-list-store.h3
-rw-r--r--libempathy-gtk/empathy-group-chat.c2
-rw-r--r--libempathy-gtk/empathy-main-window.c2
4 files changed, 4 insertions, 7 deletions
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);