# HG changeset patch # User Richard Laager # Date 1135167724 0 # Node ID 1c122dbc8e9e2012d8220f6c61f3403735a88cf9 # Parent 842b3b897cde8e70911bf8104a500a691e17e81b [gaim-migrate @ 14928] Fix an assertion failure. Remove a useless cast. committer: Tailor Script diff -r 842b3b897cde -r 1c122dbc8e9e src/gtkstatusbox.c --- 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)