diff options
author | infirit <[email protected]> | 2014-05-18 01:18:04 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-05-18 01:30:45 +0200 |
commit | e0d01fe79774e35fb4e0b3b300aa11a443d08eae (patch) | |
tree | bac187535b747758779c2db2ae60c7c300a0f990 /plugins/smartcard | |
parent | 990a430ad13be7deb5a81457070a000b770b0ff3 (diff) | |
download | mate-settings-daemon-e0d01fe79774e35fb4e0b3b300aa11a443d08eae.tar.bz2 mate-settings-daemon-e0d01fe79774e35fb4e0b3b300aa11a443d08eae.tar.xz |
Replace deprecated g_thread_create with g_thread_new
Diffstat (limited to 'plugins/smartcard')
-rw-r--r-- | plugins/smartcard/msd-smartcard-manager.c | 4 |
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); |