summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2019-02-13 22:55:43 +0100
committerDaniel Carl <danielcarl@gmx.de>2019-02-13 22:55:43 +0100
commit82f75cd194340e68f9a1b4dc7732745546f9d7fe (patch)
tree0af441a6c135079e9800e39cf0c2a4bc7cd135ba /src/main.c
parent8de3e4d219d0d7885e7fa546e904870dd472ccdf (diff)
Avoid double client destroy in case of webview close #537.
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);
}
/**