Mercurial > pidgin
diff src/gtkconv.c @ 13424:d52b9874c0de
[gaim-migrate @ 15799]
(22:14:58) Daniel Atallah (datallah): rlaager: i'm now getting warnings from gtkconv.c (gtkconv.c:4017: warning: this function may return with or without a value)
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 07 Mar 2006 04:16:13 +0000 |
parents | 3e9c865abd3f |
children | ffd724befbf8 |
line wrap: on
line diff
--- a/src/gtkconv.c Tue Mar 07 02:26:13 2006 +0000 +++ b/src/gtkconv.c Tue Mar 07 04:16:13 2006 +0000 @@ -3783,8 +3783,8 @@ gtkchat = gtkconv->u.chat; gc = gaim_conversation_get_gc(conv); - g_return_if_fail(gc != NULL); - g_return_if_fail(gc->prpl != NULL); + g_return_val_if_fail(gc != NULL, NULL); + g_return_val_if_fail(gc->prpl != NULL, NULL); prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl); /* Setup the outer pane. */