pinosaur
/
surf.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixing stupidy bug.
[surf.git]
/
surf.c
diff --git
a/surf.c
b/surf.c
index
86082ef
..
1b9fbe7
100644
(file)
--- a/
surf.c
+++ b/
surf.c
@@
-144,9
+144,10
@@
void
cleanup(void) {
while(clients)
destroyclient(clients);
cleanup(void) {
while(clients)
destroyclient(clients);
- g_free(stylefile);
- g_free(scriptfile);
+ g_free(cookiefile);
g_free(dldir);
g_free(dldir);
+ g_free(scriptfile);
+ g_free(stylefile);
}
void
}
void
@@
-175,7
+176,7
@@
void
destroyclient(Client *c) {
Client *p;
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);
gtk_widget_destroy(c->scroll);
gtk_widget_destroy(c->urlbar);
gtk_widget_destroy(c->searchbar);