Mercurial > pidgin.yaz
diff src/gtkblist.c @ 10127:23e101b522f1
[gaim-migrate @ 11165]
This is from patch 1049732 by datallah to fix a crash when trying to join a chat
from the docklet when not signed in with any chat capable accounts.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Tue, 19 Oct 2004 18:37:24 +0000 |
parents | ab8e8069b71e |
children | 7d2d9db2aa85 |
line wrap: on
line diff
--- a/src/gtkblist.c Tue Oct 19 05:17:14 2004 +0000 +++ b/src/gtkblist.c Tue Oct 19 18:37:24 2004 +0000 @@ -660,6 +660,8 @@ struct proto_chat_entry *pce; gboolean focus = TRUE; + g_return_if_fail(data->account != NULL); + gc = gaim_account_get_connection(data->account); while (GTK_BOX(data->entries_box)->children) @@ -4146,6 +4148,8 @@ struct proto_chat_entry *pce; gboolean focus = TRUE; + g_return_if_fail(data->account != NULL); + gc = gaim_account_get_connection(data->account); while (GTK_BOX(data->entries_box)->children)