Commit ce9e768e authored by Milan Crha's avatar Milan Crha

Bug 680011 - ItipView created multiple times for an attached invitation

parent de49867a
......@@ -92,6 +92,10 @@ mail_part_itip_bind_dom_element (EMailPart *part,
g_return_if_fail (WEBKIT_DOM_IS_HTML_IFRAME_ELEMENT (element));
/* A view is already assigned for this element. */
if (g_object_get_data (G_OBJECT (element), "view"))
return;
buffer = g_string_new ("");
document = webkit_dom_html_iframe_element_get_content_document (
WEBKIT_DOM_HTML_IFRAME_ELEMENT (element));
......
......@@ -1772,7 +1772,6 @@ static void
itip_view_init (ItipView *view)
{
view->priv = ITIP_VIEW_GET_PRIVATE (view);
}
ItipView *
......
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