summaryrefslogtreecommitdiff
path: root/plugins
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
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')
-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);