diff options
author | portix <none@none> | 2012-06-24 13:18:49 +0200 |
---|---|---|
committer | portix <none@none> | 2012-06-24 13:18:49 +0200 |
commit | d9e78be255c203ed463e70449b02910e8ff23159 (patch) | |
tree | 16be5b4ca9e63c17cbe1e1c4057bc83ea6df08c0 /src | |
parent | df7507ce8ac77fd95486fe8ff4f6604fdc2f977b (diff) | |
download | dwb-d9e78be255c203ed463e70449b02910e8ff23159.zip |
Close webinspector when corresponding tab is closed instead of sending delete-event, fixes possible segfault when main window is closed
Diffstat (limited to 'src')
-rw-r--r-- | src/view.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -974,7 +974,8 @@ view_clean(GList *gl) { View *v = VIEW(gl); /* Inspector */ if (v->inspector_window != NULL) { - g_signal_emit_by_name(v->inspector_window, "delete-event", NULL); + gtk_widget_destroy(v->inspector_window); + v->inspector_window = NULL; } /* Favicon */ |