From e525c17dc552f1770d1c91b202cb2ee69ba69665 Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Mon, 1 Sep 2008 04:54:13 +0000 Subject: [PATCH] Fix use of new Glib API which fails on older Glib build machines --- gtk/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/main.c b/gtk/main.c index 313bf7f86..7305b1f85 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -608,7 +608,7 @@ appsetup( TrWindow * wind, GSList * torrentFiles, /* start scheduled rate timer */ updateScheduledLimits (tr_core_handle( cbdata->core )); - g_timeout_add_seconds( 60, updateScheduledLimits, tr_core_handle( cbdata->core ) ); + g_timeout_add( 60 * 1000, updateScheduledLimits, tr_core_handle( cbdata->core ) ); /* either show the window or iconify it */ if( !minimized )