gimp r26190 - in trunk: . app/pdb
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26190 - in trunk: . app/pdb
- Date: Mon, 14 Jul 2008 14:41:20 +0000 (UTC)
Author: neo
Date: Mon Jul 14 14:41:20 2008
New Revision: 26190
URL: http://svn.gnome.org/viewvc/gimp?rev=26190&view=rev
Log:
2008-07-14 Sven Neumann <sven gimp org>
* app/pdb/gimp-pdb-compat.c
(gimp_pdb_compat_arg_type_from_gtype):
added mapping from GIMP_TYPE_COLOR_ARRAY to GIMP_PDB_COLORARRAY.
Modified:
trunk/ChangeLog
trunk/app/pdb/gimp-pdb-compat.c
Modified: trunk/app/pdb/gimp-pdb-compat.c
==============================================================================
--- trunk/app/pdb/gimp-pdb-compat.c (original)
+++ trunk/app/pdb/gimp-pdb-compat.c Mon Jul 14 14:41:20 2008
@@ -272,7 +272,7 @@
if (! pdb_type_quark)
{
- struct
+ const struct
{
GType g_type;
GimpPDBArgType pdb_type;
@@ -291,13 +291,14 @@
{ G_TYPE_STRING, GIMP_PDB_STRING },
+ { GIMP_TYPE_RGB, GIMP_PDB_COLOR },
+
{ GIMP_TYPE_INT32_ARRAY, GIMP_PDB_INT32ARRAY },
{ GIMP_TYPE_INT16_ARRAY, GIMP_PDB_INT16ARRAY },
{ GIMP_TYPE_INT8_ARRAY, GIMP_PDB_INT8ARRAY },
{ GIMP_TYPE_FLOAT_ARRAY, GIMP_PDB_FLOATARRAY },
{ GIMP_TYPE_STRING_ARRAY, GIMP_PDB_STRINGARRAY },
-
- { GIMP_TYPE_RGB, GIMP_PDB_COLOR },
+ { GIMP_TYPE_COLOR_ARRAY, GIMP_PDB_COLORARRAY },
{ GIMP_TYPE_DISPLAY_ID, GIMP_PDB_DISPLAY },
{ GIMP_TYPE_IMAGE_ID, GIMP_PDB_IMAGE },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]