summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnno Boland (tox) <tox@s01.de>2009-10-13 22:01:19 +0200
committerEnno Boland (tox) <tox@s01.de>2009-10-13 22:01:19 +0200
commit499a497b4e4a2c3c95a5b41659735fbcb62841e6 (patch)
tree90a78adb053e0e3e8e23b231f4f3936842af36c8
parent029dac1504f9da97a3481d5e0fde0b18c2b33562 (diff)
downloadsurf-499a497b4e4a2c3c95a5b41659735fbcb62841e6.tar.gz
surf-499a497b4e4a2c3c95a5b41659735fbcb62841e6.tar.bz2
surf-499a497b4e4a2c3c95a5b41659735fbcb62841e6.zip
fixing stupidy bug.
-rw-r--r--surf.c2
1 files changed, 1 insertions, 1 deletions
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);