aboutsummaryrefslogtreecommitdiffstats
path: root/shell
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 /shell
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.
Diffstat (limited to 'shell')
-rw-r--r--shell/killev.c2
-rw-r--r--shell/main.c2
2 files changed, 0 insertions, 4 deletions
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 ();