diff options
author | monsta <[email protected]> | 2016-04-26 15:32:19 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-04-26 15:32:19 +0300 |
commit | e9ff838f4de64653799c8a8b79610ad073e8a52c (patch) | |
tree | acf3165c1ea8b3198b95d2ddddacdd4885ef7854 /shell | |
parent | dff8d6db8acd371b45f6ee2831121af769dcf52c (diff) | |
download | atril-e9ff838f4de64653799c8a8b79610ad073e8a52c.tar.bz2 atril-e9ff838f4de64653799c8a8b79610ad073e8a52c.tar.xz |
window: fix another random webview-related crash
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ev-window.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c index 67208a8a..3053c03e 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -1599,6 +1599,7 @@ ev_window_set_document (EvWindow *ev_window, EvDocument *document) ev_web_view_disconnect_handlers(EV_WEB_VIEW(ev_window->priv->webview)); g_object_ref_sink(ev_window->priv->webview); g_object_unref(ev_window->priv->webview); + ev_window->priv->webview = NULL; } #endif if (EV_WINDOW_IS_PRESENTATION (ev_window) && document->iswebdocument == FALSE) { |