From f240fb587f0b9ed7e837fff8a1170ac0fc6d331e Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 27 Sep 2013 13:25:35 -0400 Subject: Remove all g_type_init() calls. g_type_init() is deprecated in GLib 2.36. --- addressbook/tools/evolution-addressbook-export.c | 2 -- mail/test-mail-autoconfig.c | 2 -- shell/killev.c | 2 -- shell/main.c | 2 -- 4 files changed, 8 deletions(-) diff --git a/addressbook/tools/evolution-addressbook-export.c b/addressbook/tools/evolution-addressbook-export.c index 685fab27f7..04b33d780f 100644 --- a/addressbook/tools/evolution-addressbook-export.c +++ b/addressbook/tools/evolution-addressbook-export.c @@ -104,8 +104,6 @@ main (gint argc, #endif #endif - g_type_init (); - /*i18n-lize */ bindtextdomain (GETTEXT_PACKAGE, EVOLUTION_LOCALEDIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); diff --git a/mail/test-mail-autoconfig.c b/mail/test-mail-autoconfig.c index 2ce8cb600a..d6c431b8c9 100644 --- a/mail/test-mail-autoconfig.c +++ b/mail/test-mail-autoconfig.c @@ -27,8 +27,6 @@ main (gint argc, EMailAutoconfig *autoconfig; GError *error = NULL; - g_type_init (); - if (argc < 2) { g_printerr ("USAGE: %s EMAIL-ADDRESS\n", argv[0]); exit (EXIT_FAILURE); diff --git a/shell/killev.c b/shell/killev.c index 11afdc4098..8cd773ef9d 100644 --- a/shell/killev.c +++ b/shell/killev.c @@ -109,8 +109,6 @@ main (gint argc, bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); - g_type_init (); - user_config_dir = e_get_user_config_dir (); filename = g_build_filename (user_config_dir, ".running", NULL); pid_file = g_file_new_for_path (filename); diff --git a/shell/main.c b/shell/main.c index 7d73235dce..8f3d5a406c 100644 --- a/shell/main.c +++ b/shell/main.c @@ -479,8 +479,6 @@ main (gint argc, bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); - g_type_init (); - /* do not require Gtk+ for --force-shutdown */ if (argc == 2 && argv[1] && g_str_equal (argv[1], "--force-shutdown")) { shell_force_shutdown (); -- cgit