mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
Remove g_type_init() calls
Very many testcases, some GLib tools (resource compiler, etc) and GApplication were calling g_type_init(). Remove those uses, as they are no longer required. https://bugzilla.gnome.org/show_bug.cgi?id=686161
This commit is contained in:
@@ -959,8 +959,6 @@ g_application_id_is_valid (const gchar *application_id)
|
||||
*
|
||||
* Creates a new #GApplication instance.
|
||||
*
|
||||
* This function calls g_type_init() for you.
|
||||
*
|
||||
* If non-%NULL, the application id must be valid. See
|
||||
* g_application_id_is_valid().
|
||||
*
|
||||
@@ -975,8 +973,6 @@ g_application_new (const gchar *application_id,
|
||||
{
|
||||
g_return_val_if_fail (application_id == NULL || g_application_id_is_valid (application_id), NULL);
|
||||
|
||||
g_type_init ();
|
||||
|
||||
return g_object_new (G_TYPE_APPLICATION,
|
||||
"application-id", application_id,
|
||||
"flags", flags,
|
||||
|
Reference in New Issue
Block a user