diff options
author | Stefano Karapetsas <[email protected]> | 2014-07-02 17:45:14 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-07-02 17:45:14 +0200 |
commit | dd209e7c581dd4dcf6f02e820d0a383f981f19eb (patch) | |
tree | ede416b65b42af10e6395e326f0059691b397fd4 /src/gpm-main.c | |
parent | c7026ba611c34ac1d24d57a88e3fac962f844ec1 (diff) | |
download | mate-power-manager-dd209e7c581dd4dcf6f02e820d0a383f981f19eb.tar.bz2 mate-power-manager-dd209e7c581dd4dcf6f02e820d0a383f981f19eb.tar.xz |
Remove deprecated code
Diffstat (limited to 'src/gpm-main.c')
-rw-r--r-- | src/gpm-main.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/gpm-main.c b/src/gpm-main.c index 054cf3b..71ba598 100644 --- a/src/gpm-main.c +++ b/src/gpm-main.c @@ -183,14 +183,7 @@ main (int argc, char *argv[]) bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); -#if !GLIB_CHECK_VERSION(2,32,0) - if (! g_thread_supported ()) - g_thread_init (NULL); -#endif dbus_g_thread_init (); -#if !GLIB_CHECK_VERSION(2,36,0) - g_type_init (); -#endif context = g_option_context_new (N_("MATE Power Manager")); /* TRANSLATORS: program name, a simple app to view pending updates */ @@ -204,10 +197,6 @@ main (int argc, char *argv[]) goto unref_program; } -#if !GLIB_CHECK_VERSION(2,32,0) - if (!g_thread_supported ()) - g_thread_init (NULL); -#endif dbus_g_thread_init (); gtk_init (&argc, &argv); |