Remove g_type_init() calls.
[platform/upstream/ibus.git] / src / tests / ibus-bus.c
index c0d4a10..f3f93bd 100644 (file)
@@ -652,9 +652,8 @@ main (gint    argc,
       gchar **argv)
 {
     gint result;
-    g_type_init ();
-    g_test_init (&argc, &argv, NULL);
     ibus_init ();
+    g_test_init (&argc, &argv, NULL);
     bus = ibus_bus_new ();
     g_object_unref (bus);
     bus = ibus_bus_new (); // crosbug.com/17293