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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 25 14:07:02 PDT 2017


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

--- Comment #9 from Christian Hergert <christian at hergert.me> ---
(In reply to Michael Catanzaro from comment #8)
> (In reply to Michael Catanzaro from comment #7)
> > Good idea. Let's do that.
> 
> Hm, is it only needed for WebKitWebView, since that's the only GtkBuildable
> thing in the API? Maybe there are other things in glib that will look for
> web_kit_*_get_type()?

GtkBuilder files can be used for plenty of things not-widgetry. So starting down this path is likely going to just add more things later on.

Another option is to just use static constructors to register the types you care about. Since GObject should be initialized first (as a dependency of your library) you can probably just g_type_ensure() from a single static constructor.

-- 
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/20170825/220a6452/attachment.html>


More information about the webkit-unassigned mailing list