removed warning when closing a surf-window.

This commit is contained in:
Enno Boland (tox) 2009-10-28 17:33:31 +01:00
parent 4501408808
commit 54c73ca84d
1 changed files with 1 additions and 1 deletions

2
surf.c
View File

@ -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]);