[Webkit-unassigned] [Bug 175937] gtk_builder_get_type_from_name doesn't work with WebKitWebView

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 24 16:09:25 PDT 2017


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

Michael Catanzaro <mcatanzaro at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mcatanzaro at igalia.com

--- Comment #2 from Michael Catanzaro <mcatanzaro at igalia.com> ---
(In reply to Debarshi Ray from comment #0)
> GtkBuilder has some heuristics to get the *_get_type method corresponding to
> the class name so that it can register the type, if needed. See
> _gtk_builder_resolve_type_lazily in gtk/gtkbuilder.c.

The problem is it is looking for the symbol web_kit_web_view_get_type, when it needs to look for webkit_web_view_get_type. This is unfortunate. I'm not sure what to do about this.

Workaround: manually register the type before creating the GtkBuilder. Something like g_object_unref (g_object_ref_sink (webkit_web_view_new ())) should work.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170824/c340b159/attachment-0001.html>


More information about the webkit-unassigned mailing list