From 499a497b4e4a2c3c95a5b41659735fbcb62841e6 Mon Sep 17 00:00:00 2001 From: "Enno Boland (tox)" Date: Tue, 13 Oct 2009 22:01:19 +0200 Subject: [PATCH] fixing stupidy bug. --- surf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/surf.c b/surf.c index cd80c21..1b9fbe7 100644 --- 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);