With newer glib it's not needed anymore and with previous versions it was already called by g_type_init().
Created attachment 112174 [details] Patch
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
(In reply to comment #1) > Created an attachment (id=112174) [details] > Patch YFTR: - The MiniBrowser is not calling gtk_init right now, so this patch would be wrong as it is. We need to call gtk_init there (as we should have since day 0 anyway, it's a gtk app). - Calling g_thread_init very late in the game is only officially accepted since http://git.gnome.org/browse/glib/commit/?id=0df3ca8f9bbb624b219ecdb25d3fe8aa4a51d953. With this patch we'll rely an g_type_init doing it, as Carlos says.
Created attachment 112180 [details] Updated patch Call gtk_init() in MiniBrowser main file.
Comment on attachment 112180 [details] Updated patch LGTM.
Committed r98239: <http://trac.webkit.org/changeset/98239>
Comment on attachment 112180 [details] Updated patch Clearing review flag.