removed warning when closing a surf-window.
authorEnno Boland (tox) <tox@s01.de>
Wed, 28 Oct 2009 16:33:31 +0000 (17:33 +0100)
committerEnno Boland (tox) <tox@s01.de>
Wed, 28 Oct 2009 16:33:31 +0000 (17:33 +0100)
surf.c

diff --git a/surf.c b/surf.c
index f5c9ebf..43981ad 100644 (file)
--- 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]);