aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-menu.c
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2011-02-14 09:00:56 +0800
committerChandni Verma <chandniverma2112@gmail.com>2011-03-11 13:10:17 +0800
commit103b4d5da19bf7ebf648658b8ff0ccab88aa24bd (patch)
tree28dd101a3ea24b525fa3e4d492803a6d80986940 /libempathy-gtk/empathy-contact-menu.c
parent0a9fd8a0a7517f099ca1b908679ab7935513cd9a (diff)
downloadgsoc2013-empathy-103b4d5da19bf7ebf648658b8ff0ccab88aa24bd.tar
gsoc2013-empathy-103b4d5da19bf7ebf648658b8ff0ccab88aa24bd.tar.gz
gsoc2013-empathy-103b4d5da19bf7ebf648658b8ff0ccab88aa24bd.tar.bz2
gsoc2013-empathy-103b4d5da19bf7ebf648658b8ff0ccab88aa24bd.tar.lz
gsoc2013-empathy-103b4d5da19bf7ebf648658b8ff0ccab88aa24bd.tar.xz
gsoc2013-empathy-103b4d5da19bf7ebf648658b8ff0ccab88aa24bd.tar.zst
gsoc2013-empathy-103b4d5da19bf7ebf648658b8ff0ccab88aa24bd.zip
Hook up abusive argument into TpContactList backend
Diffstat (limited to 'libempathy-gtk/empathy-contact-menu.c')
-rw-r--r--libempathy-gtk/empathy-contact-menu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-contact-menu.c b/libempathy-gtk/empathy-contact-menu.c
index 7f3091a9b..9f36cf552 100644
--- a/libempathy-gtk/empathy-contact-menu.c
+++ b/libempathy-gtk/empathy-contact-menu.c
@@ -234,7 +234,7 @@ empathy_contact_block_menu_item_toggled (GtkCheckMenuItem *item,
{
static guint block_signal = 0;
EmpathyContactManager *manager;
- gboolean blocked;
+ gboolean blocked, abusive;
if (block_signal > 0)
return;
@@ -252,13 +252,13 @@ empathy_contact_block_menu_item_toggled (GtkCheckMenuItem *item,
"window");
if (!empathy_block_contact_dialog_show (GTK_WINDOW (parent),
- contact, NULL))
+ contact, &abusive))
return;
}
manager = empathy_contact_manager_dup_singleton ();
empathy_contact_list_set_blocked (EMPATHY_CONTACT_LIST (manager),
- contact, blocked);
+ contact, blocked, abusive);
g_object_unref (manager);
/* update the toggle with the blocked status */