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:
Ryan Lortie
2012-10-15 12:00:51 -04:00
parent 7c42ab23b5
commit 1dc774a653
136 changed files with 3 additions and 189 deletions

View File

@@ -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,