gimp r25887 - in trunk: . app/gegl



Author: neo
Date: Wed Jun  4 12:49:18 2008
New Revision: 25887
URL: http://svn.gnome.org/viewvc/gimp?rev=25887&view=rev

Log:
2008-06-04  Sven Neumann  <sven gimp org>

	* INSTALL: updated GEGL version and also mention babl.

	* app/gegl/gimp-gegl.c (gimp_gegl_init): configure the GEGL tile
	size to match the GIMP tile size.


Modified:
   trunk/ChangeLog
   trunk/INSTALL
   trunk/app/gegl/gimp-gegl.c

Modified: trunk/INSTALL
==============================================================================
--- trunk/INSTALL	(original)
+++ trunk/INSTALL	Wed Jun  4 12:49:18 2008
@@ -28,9 +28,12 @@
   1. You need to have installed a recent version of pkg-config available
      from http://www.freedesktop.org/software/pkgconfig/.  
 
-  2. You need to have GEGL version 0.0.16 or newer. You can get it from
-     http://gegl.org/ or check it out from the subversion repository:
-     http://svn.gnome.org/svn/gegl/trunk
+  2. You need to have GEGL version 0.0.17 or newer and babl version
+     0.0.21 or newer. You can get it from http://gegl.org/ or check
+     it out from the subversion repository:
+
+       http://svn.gnome.org/svn/babl/trunk
+       http://svn.gnome.org/svn/gegl/trunk
 
   3. You need to have installed GTK+ version 2.12.1 or newer.  GIMP
      also need a recent versions of GLib (>= 2.16.1) and Pango (>= 1.18.0).

Modified: trunk/app/gegl/gimp-gegl.c
==============================================================================
--- trunk/app/gegl/gimp-gegl.c	(original)
+++ trunk/app/gegl/gimp-gegl.c	Wed Jun  4 12:49:18 2008
@@ -25,6 +25,8 @@
 
 #include "gegl-types.h"
 
+#include "base/tile.h"
+
 #include "gimp-gegl.h"
 #include "gimpoperationcolorbalance.h"
 #include "gimpoperationcolorize.h"
@@ -41,6 +43,11 @@
 void
 gimp_gegl_init (void)
 {
+  g_object_set (gegl_config (),
+                "tile-width",  TILE_WIDTH,
+                "tile-height", TILE_HEIGHT,
+                NULL);
+
   g_type_class_ref (GIMP_TYPE_OPERATION_COLOR_BALANCE);
   g_type_class_ref (GIMP_TYPE_OPERATION_COLORIZE);
   g_type_class_ref (GIMP_TYPE_OPERATION_CURVES);



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