gimp r24681 - in branches/gimp-2-4: . app/core
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r24681 - in branches/gimp-2-4: . app/core
- Date: Tue, 22 Jan 2008 20:28:12 +0000 (GMT)
Author: neo
Date: Tue Jan 22 20:28:12 2008
New Revision: 24681
URL: http://svn.gnome.org/viewvc/gimp?rev=24681&view=rev
Log:
2008-01-22 Sven Neumann <sven gimp org>
Merged from trunk:
* 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.
Modified:
branches/gimp-2-4/ChangeLog
branches/gimp-2-4/app/core/gimpprojection.c
Modified: branches/gimp-2-4/app/core/gimpprojection.c
==============================================================================
--- branches/gimp-2-4/app/core/gimpprojection.c (original)
+++ branches/gimp-2-4/app/core/gimpprojection.c Tue Jan 22 20:28:12 2008
@@ -35,6 +35,10 @@
#include "gimpprojection-construct.h"
+/* halfway between G_PRIORITY_HIGH_IDLE and G_PRIORITY_DEFAULT_IDLE */
+#define GIMP_PROJECTION_IDLE_PRIORITY 150
+
+
enum
{
UPDATE,
@@ -546,7 +550,7 @@
gimp_projection_idle_render_next_area (proj);
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,
NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]