Commit e2773106 authored by Tomas Popela's avatar Tomas Popela

EHTMLEditorView - HTML scroll event callback is not called

Don't free the DOMWindow after adding event listener on it.
parent 3800d237
......@@ -6720,8 +6720,6 @@ html_editor_convert_view_content (EHTMLEditorView *view,
FALSE,
view);
g_object_unref (dom_window);
register_html_events_handlers (view, body);
g_free (inner_html);
......@@ -9112,9 +9110,6 @@ html_editor_view_load_status_changed (EHTMLEditorView *view)
G_CALLBACK (body_scroll_event_cb),
FALSE,
view);
g_object_unref (dom_window);
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment