summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gpm-backlight-helper.c5
-rw-r--r--src/gpm-main.c11
-rw-r--r--src/gpm-statistics.c7
3 files changed, 0 insertions, 23 deletions
diff --git a/src/gpm-backlight-helper.c b/src/gpm-backlight-helper.c
index 07ad25f..4350f16 100644
--- a/src/gpm-backlight-helper.c
+++ b/src/gpm-backlight-helper.c
@@ -178,11 +178,6 @@ main (gint argc, gchar *argv[])
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
-#if !GLIB_CHECK_VERSION(2,36,0)
- /* setup type system */
- g_type_init ();
-#endif
-
context = g_option_context_new (NULL);
/* TRANSLATORS: tool that is used when copying profiles system-wide */
g_option_context_set_summary (context, _("MATE Power Manager Backlight Helper"));
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);
diff --git a/src/gpm-statistics.c b/src/gpm-statistics.c
index 13489dc..ea17703 100644
--- a/src/gpm-statistics.c
+++ b/src/gpm-statistics.c
@@ -1571,14 +1571,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 (NULL);
/* TRANSLATORS: the program name */