[gegl] gegl: fix description of "threads" property.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gegl: fix description of "threads" property.
- Date: Thu, 1 May 2014 03:35:24 +0000 (UTC)
commit 5ccf2d44382e93b0a852ebee1d7ae300821ce9cd
Author: Jehan <jehan girinstud io>
Date: Thu May 1 15:32:17 2014 +1200
gegl: fix description of "threads" property.
It was using tile-height's blurb. Probably a bad copy-paste.
gegl/gegl-config.c | 2 +-
gegl/gegl-init.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gegl/gegl-config.c b/gegl/gegl-config.c
index f922575..a08a830 100644
--- a/gegl/gegl-config.c
+++ b/gegl/gegl-config.c
@@ -227,8 +227,8 @@ gegl_config_class_init (GeglConfigClass *klass)
g_object_class_install_property (gobject_class, PROP_THREADS,
g_param_spec_int ("threads",
+ "Number of threads",
"Number of concurrent evaluation threads",
- "default tile height for created buffers.",
0, 16, 1,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
diff --git a/gegl/gegl-init.c b/gegl/gegl-init.c
index 3fc3fb8..41db1d8 100644
--- a/gegl/gegl-init.c
+++ b/gegl/gegl-init.c
@@ -356,7 +356,7 @@ static void gegl_config_parse_env (GeglConfig *config)
if (config->threads > GEGL_MAX_THREADS)
{
- g_warning ("Tried to use %i threads max is %i",
+ g_warning ("Tried to use %i threads, max is %i",
config->threads, GEGL_MAX_THREADS);
config->threads = GEGL_MAX_THREADS;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]