[Webkit-unassigned] [Bug 123439] Fix reported build warnings for GTK

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 5 01:35:05 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=123439





--- Comment #3 from Carlos Garcia Campos <cgarcia at igalia.com>  2013-11-05 01:33:51 PST ---
(In reply to comment #2)
> (From update of attachment 215916 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=215916&action=review
> 
> > Source/WebCore/bindings/gobject/WebKitDOMCustom.cpp:-70
> > -gchar* webkit_dom_html_element_get_id(WebKitDOMHTMLElement* element)
> > -{
> > -    g_warning("The get_id method on WebKitDOMHTMLElement is deprecated. Use the one in WebKitDOMElement instead.");
> > -    return webkit_dom_element_get_id(WEBKIT_DOM_ELEMENT(element));
> 
> I think removing these methods will cause an ABI break, which is why they were added in the first place.

Right.

> > Source/WebCore/bindings/gobject/WebKitDOMEventTarget.cpp:77
> > +/*gboolean webkit_dom_event_target_add_event_listener_with_closure(WebKitDOMEventTarget* target, const char* eventName, GClosure* handler, gboolean useCapture)
> 
> Why is this commented out?
> 
> > Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp:1618
> > -    gdk_threads_leave();
> >      g_main_loop_run(webView->priv->modalLoop.get());
> > -    gdk_threads_enter();
> >  }
> 
> I'm not sure if it's right to remove this here. I think we need to keep it to avoid breaking applications (even though the functions are deprecated).

Right too, see https://bugs.webkit.org/show_bug.cgi?id=120070#c11

> > Source/WebKit2/UIProcess/gtk/WebPopupMenuProxyGtk.cpp:-103
> > -    gdk_threads_leave();
> >      g_main_loop_run(m_runLoop.get());
> > -    gdk_threads_enter();
> > -
> 
> Ditto.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list