}
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);
}
};
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,
}
/* 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 |
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);
/* Show all contacts, even offline and sort alphabetically */
contact_manager = empathy_contact_manager_new ();
- contact_store = empathy_contact_list_store_new (EMPATHY_CONTACT_LIST (contact_manager), TRUE);
+ contact_store = empathy_contact_list_store_new (EMPATHY_CONTACT_LIST (contact_manager));
g_object_set (contact_store,
"is-compact", TRUE,
"show-avatars", TRUE,
(of-object "EmpathyContactList")
(c-name "empathy_contact_list_store_new")
(return-type "EmpathyContactListStore*")
- (parameters
- '("gboolean" "show_groups")
- )
)
(define-method get_list_iface