[gnome-control-center] [font-viewer] interrupt thumbnailing at 30 secs instead of 30 msecs



commit 931ddc40dda7d9759bf66cd20789c9b9a5201a07
Author: Jens Granseuer <jensgr gmx net>
Date:   Thu May 28 21:00:05 2009 +0200

    [font-viewer] interrupt thumbnailing at 30 secs instead of 30 msecs
    
    Timeout value was supposed to be 30 seconds; 30 milliseconds is a bit
    too short to get any amount of thumbnailing done (bug #584107)
---
 ChangeLog                      |    6 ++++++
 font-viewer/font-thumbnailer.c |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 364fd9c..23c8dfb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-05-28  Jens Granseuer  <jensgr gmx net>
+
+	* font-viewer/font-thumbnailer.c (main): Timeout value was supposed
+	to be 30 seconds; 30 milliseconds is a bit too short to get any
+	amount of thumbnailing done (bug #584107)
+
 2009-05-07  Christian Persch  <chpe gnome org>
 
 	* font-viewer/ftstream-vfs.c: (vfs_stream_open): Safely printf
diff --git a/font-viewer/font-thumbnailer.c b/font-viewer/font-thumbnailer.c
index d498ea1..b8f1694 100644
--- a/font-viewer/font-thumbnailer.c
+++ b/font-viewer/font-thumbnailer.c
@@ -297,7 +297,7 @@ main(int argc, char **argv)
 	goto out;
     }
 
-    totem_resources_monitor_start (arguments[0], 30);
+    totem_resources_monitor_start (arguments[0], 30 * G_USEC_PER_SEC);
 
     file = g_file_new_for_commandline_arg (arguments[0]);
     uri = g_file_get_uri (file);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]