aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-menu.c
diff options
context:
space:
mode:
authorTravis Reitter <treitter@gmail.com>2010-07-10 04:55:23 +0800
committerTravis Reitter <treitter@gmail.com>2010-07-21 07:12:37 +0800
commit325dee46c2ea53bdc24802fa264b632b8b704e5b (patch)
tree1fca325f679176a7f2b3fd1311ac261aa1a3d43a /libempathy-gtk/empathy-individual-menu.c
parent22c93bf49f6a3fdf31496d2c2fd7b7553ee351f1 (diff)
downloadgsoc2013-empathy-325dee46c2ea53bdc24802fa264b632b8b704e5b.tar
gsoc2013-empathy-325dee46c2ea53bdc24802fa264b632b8b704e5b.tar.gz
gsoc2013-empathy-325dee46c2ea53bdc24802fa264b632b8b704e5b.tar.bz2
gsoc2013-empathy-325dee46c2ea53bdc24802fa264b632b8b704e5b.tar.lz
gsoc2013-empathy-325dee46c2ea53bdc24802fa264b632b8b704e5b.tar.xz
gsoc2013-empathy-325dee46c2ea53bdc24802fa264b632b8b704e5b.tar.zst
gsoc2013-empathy-325dee46c2ea53bdc24802fa264b632b8b704e5b.zip
Simplify validation.
Diffstat (limited to 'libempathy-gtk/empathy-individual-menu.c')
-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);