summaryrefslogtreecommitdiff
path: root/plugins/smartcard
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-05-18 00:55:29 +0200
committerinfirit <[email protected]>2014-05-18 00:55:29 +0200
commit990a430ad13be7deb5a81457070a000b770b0ff3 (patch)
tree6175a97ca7bc76415300b309f2df2113b06762bd /plugins/smartcard
parent1ed94d5aed85afbfad570cc76bc9ca26cdaba39f (diff)
downloadmate-settings-daemon-990a430ad13be7deb5a81457070a000b770b0ff3.tar.bz2
mate-settings-daemon-990a430ad13be7deb5a81457070a000b770b0ff3.tar.xz
Remove deprecated g_thread_init and g_type_init functions
Diffstat (limited to 'plugins/smartcard')
-rw-r--r--plugins/smartcard/msd-smartcard-manager.c7
1 files changed, 0 insertions, 7 deletions
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");