[Webkit-unassigned] [Bug 16042] New: [GTK] Eliminate webkit_init()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 18 14:19:49 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16042

           Summary: [GTK] Eliminate webkit_init()
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: alp at atoker.com


webkit_init() goes against our API goals of keeping things simple and following
conventions set by existing widgets. Initialisation of the WebKit framework
should be done behind the scenes.

There's nothing here that can't be initialised as-needed AFAICT, except for
threading, due to a bug (which I don't think has been reported yet).

webkitgtkglobal.cpp:

void webkit_init(void)
{
    WebCore::InitializeLoggingChannelsIfNecessary();

    WebCore::initializeThreading();

#if ENABLE(DATABASE)
    // FIXME: It should be possible for client applications to override this
default location
    gchar* databaseDirectory = g_build_filename(g_get_user_data_dir(),
"webkit", "databases", NULL);
    WebCore::DatabaseTracker::tracker().setDatabasePath(databaseDirectory);
    g_free(databaseDirectory);
#endif
}


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



More information about the webkit-unassigned mailing list