From: Enno Boland (tox) Date: Wed, 28 Oct 2009 16:33:31 +0000 (+0100) Subject: removed warning when closing a surf-window. X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=54c73ca84d7bdfecfc5abb465cf58970125ea0ef;p=surf.git removed warning when closing a surf-window. --- diff --git a/surf.c b/surf.c index f5c9ebf..43981ad 100644 --- a/surf.c +++ b/surf.c @@ -214,10 +214,10 @@ destroyclient(Client *c) { int i; Client *p; + gtk_widget_destroy(c->indicator); gtk_widget_destroy(GTK_WIDGET(c->view)); gtk_widget_destroy(c->scroll); gtk_widget_destroy(c->vbox); - gtk_widget_destroy(c->indicator); gtk_widget_destroy(c->win); for(i = 0; i < LENGTH(items); i++) gtk_widget_destroy(c->items[i]);