gimp r26007 - in trunk: . plug-ins/uri



Author: mitch
Date: Sat Jun 28 15:29:01 2008
New Revision: 26007
URL: http://svn.gnome.org/viewvc/gimp?rev=26007&view=rev

Log:
2008-06-28  Michael Natterer  <mitch gimp org>

	* plug-ins/uri/uri-backend-gvfs.c (uri_progress_callback): fix
	progress display by making sure gimp_progress_update() gets a
	gdouble passed.



Modified:
   trunk/ChangeLog
   trunk/plug-ins/uri/uri-backend-gvfs.c

Modified: trunk/plug-ins/uri/uri-backend-gvfs.c
==============================================================================
--- trunk/plug-ins/uri/uri-backend-gvfs.c	(original)
+++ trunk/plug-ins/uri/uri-backend-gvfs.c	Sat Jun 28 15:29:01 2008
@@ -207,7 +207,8 @@
         }
 
       gimp_progress_set_text_printf (format, done, total);
-      gimp_progress_update (current_num_bytes / total_num_bytes);
+      gimp_progress_update ((gdouble) current_num_bytes /
+                            (gdouble) total_num_bytes);
 
       g_free (total);
       g_free (done);



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