aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-09-28 01:25:35 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-09-28 01:26:05 +0800
commitf240fb587f0b9ed7e837fff8a1170ac0fc6d331e (patch)
treea0357b844f8685134b58cc77e72f0831276ef341
parentcaf4a5be23dd68c2ddd4dbabd3dde22a6f4a3a04 (diff)
downloadgsoc2013-evolution-f240fb587f0b9ed7e837fff8a1170ac0fc6d331e.tar
gsoc2013-evolution-f240fb587f0b9ed7e837fff8a1170ac0fc6d331e.tar.gz
gsoc2013-evolution-f240fb587f0b9ed7e837fff8a1170ac0fc6d331e.tar.bz2
gsoc2013-evolution-f240fb587f0b9ed7e837fff8a1170ac0fc6d331e.tar.lz
gsoc2013-evolution-f240fb587f0b9ed7e837fff8a1170ac0fc6d331e.tar.xz
gsoc2013-evolution-f240fb587f0b9ed7e837fff8a1170ac0fc6d331e.tar.zst
gsoc2013-evolution-f240fb587f0b9ed7e837fff8a1170ac0fc6d331e.zip
Remove all g_type_init() calls.
g_type_init() is deprecated in GLib 2.36.
-rw-r--r--addressbook/tools/evolution-addressbook-export.c2
-rw-r--r--mail/test-mail-autoconfig.c2
-rw-r--r--shell/killev.c2
-rw-r--r--shell/main.c2
4 files changed, 0 insertions, 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 ();