Revision: 1130
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1130&view=rev
Author:   zas_
Date:     2008-09-03 21:13:02 +0000 (Wed, 03 Sep 2008)

Log Message:
-----------
Improve debug messages.

Modified Paths:
--------------
    trunk/src/pixbuf-renderer.c

Modified: trunk/src/pixbuf-renderer.c
===================================================================
--- trunk/src/pixbuf-renderer.c 2008-09-03 20:43:10 UTC (rev 1129)
+++ trunk/src/pixbuf-renderer.c 2008-09-03 21:13:02 UTC (rev 1130)
@@ -2711,7 +2711,7 @@
        if (!pr->loading)
                {
                /* 2pass prio */ 
-               DEBUG_2("redraw priority 2pass\n");
+               DEBUG_2("redraw priority: 2pass");
                pr->draw_idle_id = g_idle_add_full(G_PRIORITY_DEFAULT_IDLE, 
pr_queue_draw_idle_cb, pr, NULL);
                return FALSE;
                }
@@ -2729,7 +2729,7 @@
        if (percent > 10.0)
                {
                /* we have enough data for starting intensive redrawing */
-               DEBUG_2("redraw priority high %f\n", percent);
+               DEBUG_2("redraw priority: high %.2f %%", percent);
                pr->draw_idle_id = g_idle_add_full(GDK_PRIORITY_REDRAW, 
pr_queue_draw_idle_cb, pr, NULL);
                return FALSE;
                }
@@ -2737,13 +2737,13 @@
        if (percent < 1.0 || force_set)
                {
                /* queue is (almost) empty, wait  50 ms*/
-               DEBUG_2("redraw priority wait %f\n", percent);
+               DEBUG_2("redraw priority: wait %.2f %%", percent);
                pr->draw_idle_id = g_timeout_add_full(G_PRIORITY_DEFAULT_IDLE, 
50, pr_queue_draw_idle_cb, pr, NULL);
                return FALSE;
                }
        
        /* keep the same priority as before */
-       DEBUG_2("redraw priority no change %f\n", percent);
+       DEBUG_2("redraw priority: no change %.2f %%", percent);
        return TRUE;
 }
                


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to