Mercurial > pidgin.yaz
changeset 12598:1c122dbc8e9e
[gaim-migrate @ 14928]
Fix an assertion failure. Remove a useless cast.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Wed, 21 Dec 2005 12:22:04 +0000 |
parents | 842b3b897cde |
children | e94c33909aa6 |
files | src/gtkstatusbox.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkstatusbox.c Wed Dec 21 12:08:51 2005 +0000 +++ b/src/gtkstatusbox.c Wed Dec 21 12:22:04 2005 +0000 @@ -1044,7 +1044,8 @@ if (!status_box->imhtml_visible) { - gtk_widget_set_size_request(status_box->vbox, -1, -1); + if (status_box->vbox != NULL) + gtk_widget_set_size_request(status_box->vbox, -1, -1); return; } @@ -1078,7 +1079,7 @@ height += requisition.height; } - gtk_widget_set_size_request(GTK_WIDGET(status_box->vbox), -1, height); + gtk_widget_set_size_request(status_box->vbox, -1, height); } static void remove_typing_cb(GtkGaimStatusBox *status_box)