Mercurial > pidgin.yaz
diff src/gtkstatusbox.c @ 11891:f1ada7870fae
[gaim-migrate @ 14182]
This fixes clearing the error message when all accounts have reconnected
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 29 Oct 2005 17:36:56 +0000 |
parents | 163104122522 |
children | b6fa01513d76 |
line wrap: on
line diff
--- a/src/gtkstatusbox.c Sat Oct 29 17:13:41 2005 +0000 +++ b/src/gtkstatusbox.c Sat Oct 29 17:36:56 2005 +0000 @@ -613,7 +613,9 @@ { if (status_box->error) g_free(status_box->error); - status_box->error = g_strdup(error); + status_box->error = NULL; + if (error != NULL) + status_box->error = g_strdup(error); gtk_gaim_status_box_refresh(status_box); }