aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-view.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-individual-view.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-individual-view.c')
-rw-r--r--libempathy-gtk/empathy-individual-view.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c
index cea55a200..172b1facd 100644
--- a/libempathy-gtk/empathy-individual-view.c
+++ b/libempathy-gtk/empathy-individual-view.c
@@ -2448,11 +2448,14 @@ individual_view_remove_activate_cb (GtkMenuItem *menuitem,
if (res == GTK_RESPONSE_YES || res == GTK_RESPONSE_REJECT)
{
+ gboolean abusive;
+
if (res == GTK_RESPONSE_REJECT &&
- empathy_block_individual_dialog_show (parent, individual, NULL))
+ empathy_block_individual_dialog_show (parent, individual,
+ &abusive))
{
empathy_individual_manager_set_blocked (manager, individual,
- TRUE);
+ TRUE, abusive);
}
else
{