gimp r27966 - in branches/gimp-2-6: . app/tools
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27966 - in branches/gimp-2-6: . app/tools
- Date: Wed, 28 Jan 2009 12:31:19 +0000 (UTC)
Author: neo
Date: Wed Jan 28 12:31:19 2009
New Revision: 27966
URL: http://svn.gnome.org/viewvc/gimp?rev=27966&view=rev
Log:
2009-01-28 Sven Neumann <sven gimp org>
* app/tools/gimpgegltool.c (gimp_param_spec_duplicate): if
compiling for GEGL >= 0.0.23, use double parameters with
gegl_color_get_rgba().
Modified:
branches/gimp-2-6/ChangeLog
branches/gimp-2-6/NEWS
branches/gimp-2-6/app/tools/gimpgegltool.c
Modified: branches/gimp-2-6/NEWS
==============================================================================
--- branches/gimp-2-6/NEWS (original)
+++ branches/gimp-2-6/NEWS Wed Jan 28 12:31:19 2009
@@ -27,6 +27,7 @@
Spanish (es)
Hindi (hi)
+ Russian (ru)
Simplified Chinese (zh_CN)
Modified: branches/gimp-2-6/app/tools/gimpgegltool.c
==============================================================================
--- branches/gimp-2-6/app/tools/gimpgegltool.c (original)
+++ branches/gimp-2-6/app/tools/gimpgegltool.c Wed Jan 28 12:31:19 2009
@@ -557,10 +557,19 @@
{
GeglColor *gegl_color;
GimpRGB gimp_color;
+#if (GEGL_MAJOR_VERSION > 0 || \
+ (GEGL_MAJOR_VERSION == 0 && GEGL_MINOR_VERSION > 0) || \
+ (GEGL_MAJOR_VERSION == 0 && GEGL_MINOR_VERSION == 0 && GEGL_MICRO_VERSION >= 23))
+ gdouble r = 0.0;
+ gdouble g = 0.0;
+ gdouble b = 0.0;
+ gdouble a = 1.0;
+#else
gfloat r = 0.0;
gfloat g = 0.0;
gfloat b = 0.0;
gfloat a = 1.0;
+#endif
GValue value = { 0, };
g_value_init (&value, GEGL_TYPE_COLOR);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]