decreased the priority of the projection idle renderer to 150, halfway

2008-01-22  Sven Neumann  <sven@gimp.org>

	* app/core/gimpprojection.c (gimp_projection_idle_render_init):
	decreased the priority of the projection idle renderer to 150,
	halfway between G_PRIORITY_HIGH_IDLE and 
G_PRIORITY_DEFAULT_IDLE.
	Fixes bug #511214.


svn path=/trunk/; revision=24680
This commit is contained in:
Sven Neumann
2008-01-22 20:27:13 +00:00
committed by Sven Neumann
parent 80191e35a6
commit ffab5cc9db
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2008-01-22 Sven Neumann <sven@gimp.org>
* app/core/gimpprojection.c (gimp_projection_idle_render_init):
decreased the priority of the projection idle renderer to 150,
halfway between G_PRIORITY_HIGH_IDLE and G_PRIORITY_DEFAULT_IDLE.
Fixes bug #511214.
2008-01-22 Sven Neumann <sven@gimp.org> 2008-01-22 Sven Neumann <sven@gimp.org>
* app/paint/gimpbrushcore.c (gimp_brush_core_create_bound_segs): * app/paint/gimpbrushcore.c (gimp_brush_core_create_bound_segs):

View File

@ -35,6 +35,10 @@
#include "gimpprojection-construct.h" #include "gimpprojection-construct.h"
/* halfway between G_PRIORITY_HIGH_IDLE and G_PRIORITY_DEFAULT_IDLE */
#define GIMP_PROJECTION_IDLE_PRIORITY 150
enum enum
{ {
UPDATE, UPDATE,
@ -544,7 +548,7 @@ gimp_projection_idle_render_init (GimpProjection *proj)
gimp_projection_idle_render_next_area (proj); gimp_projection_idle_render_next_area (proj);
proj->idle_render.idle_id = proj->idle_render.idle_id =
g_idle_add_full (G_PRIORITY_HIGH_IDLE, g_idle_add_full (GIMP_PROJECTION_IDLE_PRIORITY,
gimp_projection_idle_render_callback, proj, gimp_projection_idle_render_callback, proj,
NULL); NULL);
} }