summaryrefslogtreecommitdiffstats
path: root/src/extension/extension.cpp
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2007-09-13 04:31:40 +0000
committergouldtj <gouldtj@users.sourceforge.net>2007-09-13 04:31:40 +0000
commit37313b49352eafc3bf7aa8a8288a2064b1f896d2 (patch)
treea794104689572bc25f43da80329526571a141bd2 /src/extension/extension.cpp
parentchange from <io.h> to <unistd.h> to define close (diff)
downloadinkscape-37313b49352eafc3bf7aa8a8288a2064b1f896d2.tar.gz
inkscape-37313b49352eafc3bf7aa8a8288a2064b1f896d2.zip
r16564@tres: ted | 2007-09-12 20:45:12 -0700
Final GSoC patch from Chris. I took too long to include it :( (bzr r3740)
Diffstat (limited to 'src/extension/extension.cpp')
-rw-r--r--src/extension/extension.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/extension/extension.cpp b/src/extension/extension.cpp
index b56a1d6f2..825a935ad 100644
--- a/src/extension/extension.cpp
+++ b/src/extension/extension.cpp
@@ -505,7 +505,7 @@ Extension::get_param_float (const gchar * name, const SPDocument * doc, const In
Look up in the parameters list, then execute the function on that
found parameter.
*/
-SPColor*
+guint32
Extension::get_param_color (const gchar * name, const SPDocument * doc, const Inkscape::XML::Node * node)
{
Parameter* param = param_shared(name, parameters);
@@ -604,8 +604,8 @@ Extension::set_param_string (const gchar * name, const gchar * value, SPDocument
Look up in the parameters list, then execute the function on that
found parameter.
*/
-SPColor*
-Extension::set_param_color (const gchar * name, SPColor* color, SPDocument * doc, Inkscape::XML::Node * node)
+guint32
+Extension::set_param_color (const gchar * name, guint32 color, SPDocument * doc, Inkscape::XML::Node * node)
{
Parameter* param = param_shared(name, parameters);
return param->set_color(color, doc, node);