comparison 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
comparison
equal deleted inserted replaced
11890:fdb78734e2ae 11891:f1ada7870fae
611 void 611 void
612 gtk_gaim_status_box_set_error(GtkGaimStatusBox *status_box, const gchar *error) 612 gtk_gaim_status_box_set_error(GtkGaimStatusBox *status_box, const gchar *error)
613 { 613 {
614 if (status_box->error) 614 if (status_box->error)
615 g_free(status_box->error); 615 g_free(status_box->error);
616 status_box->error = g_strdup(error); 616 status_box->error = NULL;
617 if (error != NULL)
618 status_box->error = g_strdup(error);
617 gtk_gaim_status_box_refresh(status_box); 619 gtk_gaim_status_box_refresh(status_box);
618 } 620 }
619 621
620 void 622 void
621 gtk_gaim_status_box_set_connecting(GtkGaimStatusBox *status_box, gboolean connecting) 623 gtk_gaim_status_box_set_connecting(GtkGaimStatusBox *status_box, gboolean connecting)