aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-individual-menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-individual-menu.c b/libempathy-gtk/empathy-individual-menu.c
index a3cacdaae..b39200d55 100644
--- a/libempathy-gtk/empathy-individual-menu.c
+++ b/libempathy-gtk/empathy-individual-menu.c
@@ -245,7 +245,7 @@ empathy_individual_chat_menu_item_activated (GtkMenuItem *item,
contact = empathy_contact_dup_from_folks_individual (individual);
- g_return_if_fail (EMPATHY_IS_CONTACT (contact));
+ g_return_if_fail (contact != NULL);
empathy_dispatcher_chat_with_contact (contact, gtk_get_current_event_time (),
NULL, NULL);