On Thu, 2016-03-31 at 15:26 +0200, Jérémy Lal wrote: > Or is it > > WEBKIT_WEB_VIEW(g_object_new(WEBKIT_TYPE_WEB_VIEW, > "user-content-manager", webkit_user_content_manager_new(), > "web-context", webContext, > NULL > )); > > ?
Yeah. We can't provide convenience API for every permutation of construct- only properties, so got to use g_object_new for this. This seems to be a frequent source of confusion as it's not typically required when constructing GObjects nowadays; maybe we should add a hint in our documentation. Michael _______________________________________________ webkit-gtk mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-gtk
