aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-contact-menu.c')
-rw-r--r--libempathy-gtk/empathy-contact-menu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-contact-menu.c b/libempathy-gtk/empathy-contact-menu.c
index fffa975a4..a7e72aa3d 100644
--- a/libempathy-gtk/empathy-contact-menu.c
+++ b/libempathy-gtk/empathy-contact-menu.c
@@ -195,6 +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);
empathy_send_file_with_file_chooser_and_manager (contact);
}