summaryrefslogtreecommitdiff
path: root/thunarx
diff options
context:
space:
mode:
authorNick Schermer <nick@xfce.org>2012-11-04 10:28:19 +0100
committerNick Schermer <nick@xfce.org>2012-11-04 10:39:48 +0100
commit402b4d084d1bcba9bc05bebc89866692a4d2a223 (patch)
tree86794803e7a445a6e2d37ad16ad7d2ba125ddf4e /thunarx
parentd3a6b9fef305fc7513905e953b5243586cad99b4 (diff)
downloadthunar-402b4d084d1bcba9bc05bebc89866692a4d2a223.tar.gz
Use seconds timers where possible.
Diffstat (limited to 'thunarx')
-rw-r--r--thunarx/thunarx-provider-factory.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/thunarx/thunarx-provider-factory.c b/thunarx/thunarx-provider-factory.c
index 6d141033..c1ab46fb 100644
--- a/thunarx/thunarx-provider-factory.c
+++ b/thunarx/thunarx-provider-factory.c
@@ -31,8 +31,8 @@
-/* "provider cache" cleanup interval (in ms) */
-#define THUNARX_PROVIDER_FACTORY_INTERVAL (45 * 1000)
+/* "provider cache" cleanup interval (in seconds) */
+#define THUNARX_PROVIDER_FACTORY_INTERVAL (45)
@@ -299,9 +299,9 @@ thunarx_provider_factory_list_providers (ThunarxProviderFactory *factory,
modules = thunarx_provider_factory_load_modules (factory);
/* start the "provider cache" cleanup timer */
- factory->timer_id = g_timeout_add_full (G_PRIORITY_LOW, THUNARX_PROVIDER_FACTORY_INTERVAL,
- thunarx_provider_factory_timer, factory,
- thunarx_provider_factory_timer_destroy);
+ factory->timer_id = g_timeout_add_seconds_full (G_PRIORITY_LOW, THUNARX_PROVIDER_FACTORY_INTERVAL,
+ thunarx_provider_factory_timer, factory,
+ thunarx_provider_factory_timer_destroy);
}
/* determine all available providers for the type */