Remove calls to g_type_init()
authorMike Gorse <mgorse@suse.com>
Thu, 10 Oct 2013 19:36:56 +0000 (14:36 -0500)
committerMike Gorse <mgorse@suse.com>
Thu, 10 Oct 2013 19:36:56 +0000 (14:36 -0500)
g_type_init() has been deprecated since 2.36.

atspi/atspi-misc.c
bus/at-spi-bus-launcher.c
configure.ac
registryd/registry-main.c

index 2cc1e91..97f9169 100644 (file)
@@ -860,8 +860,6 @@ atspi_init (void)
 
   atspi_inited = TRUE;
 
-  g_type_init ();
-
   _atspi_get_live_refs();
 
   bus = atspi_get_a11y_bus ();
index f7832dd..63b5b28 100644 (file)
@@ -580,8 +580,6 @@ main (int    argc,
   gboolean screen_reader_set = FALSE;
   gint i;
 
-  g_type_init ();
-
   if (already_running ())
     return 0;
 
index aaf52d2..f606d1a 100644 (file)
@@ -44,7 +44,7 @@ PKG_CHECK_MODULES(DBUS, [dbus-1 >= 1.0])
 AC_SUBST(DBUS_LIBS)
 AC_SUBST(DBUS_CFLAGS)
 
-PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.26.0])
+PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.36.0])
 AC_SUBST(GLIB_LIBS)
 AC_SUBST(GLIB_CFLAGS)
 AC_CHECK_LIB([glib-2.0], [g_ptr_array_new_with_free_func], [:],
index b088b1a..8c3f54a 100644 (file)
@@ -199,8 +199,6 @@ main (int argc, char **argv)
   GError *err = NULL;
   int ret;
 
-  g_type_init();
-
   /*Parse command options*/
   opt = g_option_context_new(NULL);
   g_option_context_add_main_entries(opt, optentries, NULL);