summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-05-18 01:18:04 +0200
committerinfirit <[email protected]>2014-05-18 01:30:45 +0200
commite0d01fe79774e35fb4e0b3b300aa11a443d08eae (patch)
treebac187535b747758779c2db2ae60c7c300a0f990 /plugins
parent990a430ad13be7deb5a81457070a000b770b0ff3 (diff)
downloadmate-settings-daemon-e0d01fe79774e35fb4e0b3b300aa11a443d08eae.tar.bz2
mate-settings-daemon-e0d01fe79774e35fb4e0b3b300aa11a443d08eae.tar.xz
Replace deprecated g_thread_create with g_thread_new
Diffstat (limited to 'plugins')
-rw-r--r--plugins/smartcard/msd-smartcard-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/smartcard/msd-smartcard-manager.c b/plugins/smartcard/msd-smartcard-manager.c
index d22bbe3..7f75829 100644
--- a/plugins/smartcard/msd-smartcard-manager.c
+++ b/plugins/smartcard/msd-smartcard-manager.c
@@ -1256,9 +1256,9 @@ msd_smartcard_manager_create_worker (MsdSmartcardManager *manager,
worker = msd_smartcard_manager_worker_new (write_fd);
worker->module = manager->priv->module;
- *worker_thread = g_thread_create ((GThreadFunc)
+ *worker_thread = g_thread_new ("MsdSmartcardManagerWorker", (GThreadFunc)
msd_smartcard_manager_worker_run,
- worker, FALSE, NULL);
+ worker);
if (*worker_thread == NULL) {
msd_smartcard_manager_worker_free (worker);