summaryrefslogtreecommitdiff
path: root/plugins/smartcard/msd-smartcard-manager.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-12-07 06:06:41 -0800
committerStefano Karapetsas <[email protected]>2012-12-07 06:06:41 -0800
commit12dcf19aa5f51901053c273cd7f5c17ce85e909d (patch)
tree5b71387df7bf817dd5d0dff60ecc09d8291dba0d /plugins/smartcard/msd-smartcard-manager.c
parenta279b02b4d563d2300ccb588e5969c7dfac8108e (diff)
parent6e61d207a2088479f5bb12ce4edb1d2886c40b53 (diff)
downloadmate-settings-daemon-12dcf19aa5f51901053c273cd7f5c17ce85e909d.tar.bz2
mate-settings-daemon-12dcf19aa5f51901053c273cd7f5c17ce85e909d.tar.xz
Merge pull request #29 from jasmineaura/develop
Fix #23, and some cleanups
Diffstat (limited to 'plugins/smartcard/msd-smartcard-manager.c')
-rw-r--r--plugins/smartcard/msd-smartcard-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/smartcard/msd-smartcard-manager.c b/plugins/smartcard/msd-smartcard-manager.c
index 8207613..503123a 100644
--- a/plugins/smartcard/msd-smartcard-manager.c
+++ b/plugins/smartcard/msd-smartcard-manager.c
@@ -1321,7 +1321,7 @@ on_device_removed (MsdSmartcardManager *manager,
} else {
g_print ("disabling manager for 2 seconds\n");
msd_smartcard_manager_stop (manager);
- g_timeout_add (2000, (GSourceFunc) on_timeout, manager);
+ g_timeout_add_seconds (2, (GSourceFunc) on_timeout, manager);
}
}