aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-menu.c
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2008-11-22 00:17:45 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:17:45 +0800
commit75e327f0e73bc4e509ad1f69833ee0048aef62f2 (patch)
tree071e66739e20372aa89b42b77579a29ced670111 /libempathy-gtk/empathy-contact-menu.c
parente64a676589d21f6bb93bda0bef0ecc9a00c6e985 (diff)
downloadgsoc2013-empathy-75e327f0e73bc4e509ad1f69833ee0048aef62f2.tar
gsoc2013-empathy-75e327f0e73bc4e509ad1f69833ee0048aef62f2.tar.gz
gsoc2013-empathy-75e327f0e73bc4e509ad1f69833ee0048aef62f2.tar.bz2
gsoc2013-empathy-75e327f0e73bc4e509ad1f69833ee0048aef62f2.tar.lz
gsoc2013-empathy-75e327f0e73bc4e509ad1f69833ee0048aef62f2.tar.xz
gsoc2013-empathy-75e327f0e73bc4e509ad1f69833ee0048aef62f2.tar.zst
gsoc2013-empathy-75e327f0e73bc4e509ad1f69833ee0048aef62f2.zip
Updated parameter checks to return appropriate values. (Jonny Lamb)
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1799
Diffstat (limited to 'libempathy-gtk/empathy-contact-menu.c')
-rw-r--r--libempathy-gtk/empathy-contact-menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-contact-menu.c b/libempathy-gtk/empathy-contact-menu.c
index a7e72aa3d..0a2b5eccb 100644
--- a/libempathy-gtk/empathy-contact-menu.c
+++ b/libempathy-gtk/empathy-contact-menu.c
@@ -195,7 +195,7 @@ empathy_contact_log_menu_item_new (EmpathyContact *contact)
static void
contact_file_transfer_menu_item_activate_cb (EmpathyContact *contact)
{
- g_return_val_if_fail (EMPATHY_IS_CONTACT (contact), NULL);
+ g_return_if_fail (EMPATHY_IS_CONTACT (contact));
empathy_send_file_with_file_chooser_and_manager (contact);
}