From 2922737e84cc38ca3f151602b2a94acda74a2008 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 4 Sep 2013 12:59:40 +0200 Subject: fix 'popup-individual-menu' in roster tests We added the 'group' argument to the signal. --- tests/interactive/test-empathy-dual-roster-view.c | 5 +++-- tests/interactive/test-empathy-roster-model-aggregator.c | 5 +++-- tests/interactive/test-empathy-roster-view.c | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) (limited to 'tests') diff --git a/tests/interactive/test-empathy-dual-roster-view.c b/tests/interactive/test-empathy-dual-roster-view.c index 5d2dfdc55..b98cb3c0e 100644 --- a/tests/interactive/test-empathy-dual-roster-view.c +++ b/tests/interactive/test-empathy-dual-roster-view.c @@ -18,6 +18,7 @@ individual_activated_cb (EmpathyRosterView *self, static void popup_individual_menu_cb (EmpathyRosterView *self, + const gchar *group, FolksIndividual *individual, guint button, guint time, @@ -25,8 +26,8 @@ popup_individual_menu_cb (EmpathyRosterView *self, { GtkWidget *menu, *item; - g_print ("'%s' popup menu\n", - folks_alias_details_get_alias (FOLKS_ALIAS_DETAILS (individual))); + g_print ("'%s' (group: %s) popup menu\n", + folks_alias_details_get_alias (FOLKS_ALIAS_DETAILS (individual)), group); menu = gtk_menu_new (); diff --git a/tests/interactive/test-empathy-roster-model-aggregator.c b/tests/interactive/test-empathy-roster-model-aggregator.c index b55843158..c53859f8f 100644 --- a/tests/interactive/test-empathy-roster-model-aggregator.c +++ b/tests/interactive/test-empathy-roster-model-aggregator.c @@ -28,6 +28,7 @@ individual_activated_cb (EmpathyRosterView *self, static void popup_individual_menu_cb (EmpathyRosterView *self, + const gchar *group, FolksIndividual *individual, guint button, guint time, @@ -35,8 +36,8 @@ popup_individual_menu_cb (EmpathyRosterView *self, { GtkWidget *menu, *item; - g_print ("'%s' popup menu\n", - folks_alias_details_get_alias (FOLKS_ALIAS_DETAILS (individual))); + g_print ("'%s' (group: %s) popup menu\n", + folks_alias_details_get_alias (FOLKS_ALIAS_DETAILS (individual)), group); menu = gtk_menu_new (); diff --git a/tests/interactive/test-empathy-roster-view.c b/tests/interactive/test-empathy-roster-view.c index eb5cf6c6b..d8e5d3464 100644 --- a/tests/interactive/test-empathy-roster-view.c +++ b/tests/interactive/test-empathy-roster-view.c @@ -28,6 +28,7 @@ individual_activated_cb (EmpathyRosterView *self, static void popup_individual_menu_cb (EmpathyRosterView *self, + const gchar *group, FolksIndividual *individual, guint button, guint time, @@ -35,8 +36,8 @@ popup_individual_menu_cb (EmpathyRosterView *self, { GtkWidget *menu, *item; - g_print ("'%s' popup menu\n", - folks_alias_details_get_alias (FOLKS_ALIAS_DETAILS (individual))); + g_print ("'%s' (group: %s) popup menu\n", + folks_alias_details_get_alias (FOLKS_ALIAS_DETAILS (individual)), group); menu = gtk_menu_new (); -- cgit v1.2.1