diff options
author | Travis Reitter <treitter@gmail.com> | 2010-07-10 04:55:23 +0800 |
---|---|---|
committer | Travis Reitter <treitter@gmail.com> | 2010-07-21 07:12:37 +0800 |
commit | 325dee46c2ea53bdc24802fa264b632b8b704e5b (patch) | |
tree | 1fca325f679176a7f2b3fd1311ac261aa1a3d43a /libempathy-gtk/empathy-individual-menu.c | |
parent | 22c93bf49f6a3fdf31496d2c2fd7b7553ee351f1 (diff) | |
download | gsoc2013-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.c | 2 |
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); |