[evolution] Remove all g_type_init() calls.



commit f240fb587f0b9ed7e837fff8a1170ac0fc6d331e
Author: Matthew Barnes <mbarnes redhat com>
Date:   Fri Sep 27 13:25:35 2013 -0400

    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, 0 insertions(+), 8 deletions(-)
---
diff --git a/addressbook/tools/evolution-addressbook-export.c 
b/addressbook/tools/evolution-addressbook-export.c
index 685fab2..04b33d7 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 2ce8cb6..d6c431b 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 11afdc4..8cd773e 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 7d73235..8f3d5a4 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 ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]