summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/datetime/msd-datetime-mechanism-main.c4
-rw-r--r--plugins/smartcard/msd-smartcard-manager.c7
-rw-r--r--plugins/xsettings/fontconfig-monitor.c2
3 files changed, 0 insertions, 13 deletions
diff --git a/plugins/datetime/msd-datetime-mechanism-main.c b/plugins/datetime/msd-datetime-mechanism-main.c
index df84550..473c968 100644
--- a/plugins/datetime/msd-datetime-mechanism-main.c
+++ b/plugins/datetime/msd-datetime-mechanism-main.c
@@ -130,11 +130,7 @@ main (int argc, char **argv)
ret = 1;
- if (! g_thread_supported ()) {
- g_thread_init (NULL);
- }
dbus_g_thread_init ();
- g_type_init ();
connection = get_system_bus ();
if (connection == NULL) {
diff --git a/plugins/smartcard/msd-smartcard-manager.c b/plugins/smartcard/msd-smartcard-manager.c
index 503123a..d22bbe3 100644
--- a/plugins/smartcard/msd-smartcard-manager.c
+++ b/plugins/smartcard/msd-smartcard-manager.c
@@ -340,11 +340,6 @@ msd_smartcard_manager_init (MsdSmartcardManager *manager)
g_str_equal,
(GDestroyNotify) g_free,
(GDestroyNotify) g_object_unref);
-
- if (!g_thread_supported ()) {
- g_thread_init (NULL);
- }
-
}
static void
@@ -1335,8 +1330,6 @@ main (int argc,
g_log_set_always_fatal (G_LOG_LEVEL_ERROR
| G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING);
- g_type_init ();
-
g_message ("creating instance of 'smartcard manager' object...");
manager = msd_smartcard_manager_new (NULL);
g_message ("'smartcard manager' object created successfully");
diff --git a/plugins/xsettings/fontconfig-monitor.c b/plugins/xsettings/fontconfig-monitor.c
index febb746..ed4a5a9 100644
--- a/plugins/xsettings/fontconfig-monitor.c
+++ b/plugins/xsettings/fontconfig-monitor.c
@@ -180,8 +180,6 @@ main (void)
{
GMainLoop *loop;
- g_type_init ();
-
fontconfig_monitor_start ((GFunc) yay, NULL);
loop = g_main_loop_new (NULL, TRUE);