summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 71a4007..b2cf5c6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1195,7 +1195,7 @@ static void on_webdownload_received_data(WebKitDownload *download,
*/
static void on_webview_close(WebKitWebView *webview, Client *c)
{
- client_destroy(c);
+ gtk_widget_destroy(c->window);
}
/**