]> Skullheadx's Git Forge - surf.git/commitdiff
fixing stupidy bug.
authorEnno Boland (tox) <tox@s01.de>
Tue, 13 Oct 2009 20:01:19 +0000 (22:01 +0200)
committerEnno Boland (tox) <tox@s01.de>
Tue, 13 Oct 2009 20:01:19 +0000 (22:01 +0200)
surf.c

diff --git a/surf.c b/surf.c
index cd80c21a4a7fc76ffb63c241d685c4e5df69a79c..1b9fbe7bbebefcdd955c61791b1d68211aed17bf 100644 (file)
--- a/surf.c
+++ b/surf.c
@@ -176,7 +176,7 @@ void
 destroyclient(Client *c) {
        Client *p;
 
-       gtk_widget_destroy(GTK_WIDGET(webkit_web_view_new()));
+       gtk_widget_destroy(GTK_WIDGET(c->view));
        gtk_widget_destroy(c->scroll);
        gtk_widget_destroy(c->urlbar);
        gtk_widget_destroy(c->searchbar);