Remove now-unnecessary g_type_init() calls
authorDan Winship <danw@gnome.org>
Mon, 22 Oct 2012 16:57:45 +0000 (18:57 +0200)
committerDan Winship <danw@gnome.org>
Mon, 22 Oct 2012 21:32:58 +0000 (23:32 +0200)
proxy/libproxy/glibpacrunner.c
proxy/tests/gnome.c
tls/tests/certificate.c
tls/tests/connection.c
tls/tests/file-database.c
tls/tests/pkcs11-array.c
tls/tests/pkcs11-pin.c
tls/tests/pkcs11-slot.c
tls/tests/pkcs11-util.c

index 1e97444..0e2cda5 100644 (file)
@@ -130,8 +130,6 @@ main (int argc, char *argv[])
 {
   int owner_id;
 
-  g_type_init ();
-
   /* Unset variables that would make libproxy try to use gconf or ksettings */
   g_unsetenv ("GNOME_DESKTOP_SESSION_ID");
   g_unsetenv ("DESKTOP_SESSION");
index 7c7b9b1..f57959f 100644 (file)
@@ -144,7 +144,6 @@ int
 main (int   argc,
       char *argv[])
 {
-  g_type_init ();
   g_test_init (&argc, &argv, NULL);
 
   g_setenv ("GIO_EXTRA_MODULES", TOP_BUILDDIR "/proxy/gnome/.libs", TRUE);
index 03488a3..408f3e2 100644 (file)
@@ -412,7 +412,6 @@ int
 main (int   argc,
       char *argv[])
 {
-  g_type_init ();
   g_test_init (&argc, &argv, NULL);
 
   g_setenv ("GSETTINGS_BACKEND", "memory", TRUE);
index 751490d..fc2a486 100644 (file)
@@ -826,7 +826,6 @@ main (int   argc,
 {
   int ret;
 
-  g_type_init ();
   g_test_init (&argc, &argv, NULL);
 
   g_setenv ("GSETTINGS_BACKEND", "memory", TRUE);
index c1c718a..5b6756f 100644 (file)
@@ -507,7 +507,6 @@ int
 main (int   argc,
       char *argv[])
 {
-  g_type_init ();
   g_test_init (&argc, &argv, NULL);
 
   g_setenv ("GSETTINGS_BACKEND", "memory", TRUE);
index ebb9e10..b5d5c3b 100644 (file)
@@ -265,7 +265,6 @@ int
 main (int   argc,
       char *argv[])
 {
-  g_type_init ();
   g_test_init (&argc, &argv, NULL);
 
   g_test_add ("/pkcs11/array/add-find", TestArray, NULL,
index 442b3dd..e08eff8 100644 (file)
@@ -133,7 +133,6 @@ int
 main (int   argc,
       char *argv[])
 {
-  g_type_init ();
   g_test_init (&argc, &argv, NULL);
 
   g_test_add ("/pkcs11/pin/attributes", TestPin, NULL,
index c65f6c7..fec9838 100644 (file)
@@ -489,7 +489,6 @@ int
 main (int   argc,
       char *argv[])
 {
-  g_type_init ();
   g_test_init (&argc, &argv, NULL);
 
   g_test_add ("/pkcs11/slot/properties", TestSlot, NULL,
index 0864141..c27d8c1 100644 (file)
@@ -51,7 +51,6 @@ int
 main (int   argc,
       char *argv[])
 {
-  g_type_init ();
   g_test_init (&argc, &argv, NULL);
 
   g_test_add_func ("/pkcs11/util/propagate-error", test_propagate_error);