summaryrefslogtreecommitdiff
path: root/plugins/smartcard
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/smartcard')
-rw-r--r--plugins/smartcard/msd-smartcard-manager.c2
-rw-r--r--plugins/smartcard/msd-smartcard-plugin.c6
2 files changed, 7 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);
}
}
diff --git a/plugins/smartcard/msd-smartcard-plugin.c b/plugins/smartcard/msd-smartcard-plugin.c
index 08f6e6c..ae1b264 100644
--- a/plugins/smartcard/msd-smartcard-plugin.c
+++ b/plugins/smartcard/msd-smartcard-plugin.c
@@ -338,3 +338,9 @@ msd_smartcard_plugin_class_init (MsdSmartcardPluginClass *klass)
g_type_class_add_private (klass, sizeof (MsdSmartcardPluginPrivate));
}
+
+static void
+msd_smartcard_plugin_class_finalize (MsdSmartcardPluginClass *klass)
+{
+}
+