changeset 13504:2d2a52b0bfa5

[gaim-migrate @ 15880] Fix the following warning: gtkconv.c: In function ?gtkconv_chat_popup_menu_cb?: gtkconv.c:1631: warning: ?return? with no value, in function returning non-void gtkconv.c:1649: warning: this function may return with or without a value committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 14 Mar 2006 05:18:37 +0000
parents d568877d3b40
children 7a6763bbf82b
files src/gtkconv.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Tue Mar 14 05:15:02 2006 +0000
+++ b/src/gtkconv.c	Tue Mar 14 05:18:37 2006 +0000
@@ -1628,7 +1628,7 @@
 	account = gaim_conversation_get_account(conv);
 	gc      = account->gc;
 
-	g_return_if_fail(gc != NULL);
+	g_return_val_if_fail(gc != NULL, FALSE);
 
 	model = gtk_tree_view_get_model(GTK_TREE_VIEW(gtkchat->list));