aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-roster-view.c
diff options
context:
space:
mode:
authorLaurent Contzen <lcontzen@gmail.com>2012-07-04 20:59:48 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-07-23 22:11:28 +0800
commit5e102f002d353aceb687f92499635b86a0ba2d9b (patch)
tree3a5d3e2b6eb0d0717faa0c9aa9380b42fac00ff8 /libempathy-gtk/empathy-roster-view.c
parent136088b2686da8dc9fca4e3b77faad28e1a873d1 (diff)
downloadgsoc2013-empathy-5e102f002d353aceb687f92499635b86a0ba2d9b.tar
gsoc2013-empathy-5e102f002d353aceb687f92499635b86a0ba2d9b.tar.gz
gsoc2013-empathy-5e102f002d353aceb687f92499635b86a0ba2d9b.tar.bz2
gsoc2013-empathy-5e102f002d353aceb687f92499635b86a0ba2d9b.tar.lz
gsoc2013-empathy-5e102f002d353aceb687f92499635b86a0ba2d9b.tar.xz
gsoc2013-empathy-5e102f002d353aceb687f92499635b86a0ba2d9b.tar.zst
gsoc2013-empathy-5e102f002d353aceb687f92499635b86a0ba2d9b.zip
empathy-roster-model, empathy-roster-model-manager: Now deals with groups-changed signal empathy-roster-view.c: now uses roster-model's groups-changed signal
https://bugzilla.gnome.org/show_bug.cgi?id=680302
Diffstat (limited to 'libempathy-gtk/empathy-roster-view.c')
-rw-r--r--libempathy-gtk/empathy-roster-view.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-roster-view.c b/libempathy-gtk/empathy-roster-view.c
index 90d7296eb..b07a4b252 100644
--- a/libempathy-gtk/empathy-roster-view.c
+++ b/libempathy-gtk/empathy-roster-view.c
@@ -1040,9 +1040,9 @@ update_top_contacts (EmpathyRosterView *self)
}
static void
-groups_changed_cb (EmpathyIndividualManager *manager,
+groups_changed_cb (EmpathyRosterModel *model,
FolksIndividual *individual,
- gchar *group,
+ const gchar *group,
gboolean is_member,
EmpathyRosterView *self)
{
@@ -1118,7 +1118,7 @@ empathy_roster_view_constructed (GObject *object)
G_CALLBACK (individual_added_cb), self, 0);
tp_g_signal_connect_object (self->priv->model, "individual-removed",
G_CALLBACK (individual_removed_cb), self, 0);
- tp_g_signal_connect_object (self->priv->manager, "groups-changed",
+ tp_g_signal_connect_object (self->priv->model, "groups-changed",
G_CALLBACK (groups_changed_cb), self, 0);
tp_g_signal_connect_object (self->priv->manager, "notify::top-individuals",
G_CALLBACK (top_individuals_changed_cb), self, 0);