From 85a92cf800ea701f26a50dad2c223a2d0b4e4fd0 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Sun, 20 May 2012 19:35:04 +0200 Subject: [PATCH] app: don't set GeglConfig:threads, it breaks things --- app/gegl/gimp-gegl.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/gegl/gimp-gegl.c b/app/gegl/gimp-gegl.c index 5e9047a019..c96f400715 100644 --- a/app/gegl/gimp-gegl.c +++ b/app/gegl/gimp-gegl.c @@ -51,13 +51,19 @@ gimp_gegl_init (Gimp *gimp) #ifdef __GNUC__ #warning limiting tile cache size to G_MAXINT +#endif + +#ifdef __GNUC__ +#warning not setting GeglConfig:threads #endif g_object_set (gegl_config (), "tile-width", TILE_WIDTH, "tile-height", TILE_HEIGHT, "cache-size", (gint) MIN (config->tile_cache_size, G_MAXINT), +#if 0 "threads", config->num_processors, +#endif NULL); /* turn down the precision of babl - permitting use of lookup tables for @@ -91,7 +97,9 @@ gimp_gegl_notify_tile_cache_size (GimpGeglConfig *config) static void gimp_gegl_notify_num_processors (GimpGeglConfig *config) { +#if 0 g_object_set (gegl_config (), "threads", config->num_processors, NULL); +#endif }