changeset 13475:d6912eee114e

[gaim-migrate @ 15851] Fix two warnings about returning nothing in a function that should return a boolean committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 09 Mar 2006 03:11:50 +0000
parents b0df520aceea
children 465c368366f8
files src/gtkwhiteboard.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkwhiteboard.c	Thu Mar 09 03:09:03 2006 +0000
+++ b/src/gtkwhiteboard.c	Thu Mar 09 03:11:50 2006 +0000
@@ -301,9 +301,9 @@
 {
 	GaimWhiteboard *wb;
 
-	g_return_if_fail(gtkwb != NULL);
+	g_return_val_if_fail(gtkwb != NULL, FALSE);
 	wb = gtkwb->wb;
-	g_return_if_fail(wb != NULL);
+	g_return_val_if_fail(wb != NULL, FALSE);
 
 	gaim_whiteboard_destroy(wb);