Mercurial > pidgin
diff src/gtkconv.c @ 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 | 2d1ccccde3d4 |
| children | 7a6763bbf82b |
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));
