Commit 539c231c authored by Jon Nordby's avatar Jon Nordby

gegl-color: Make gegl_param_spec_color_get_default() public

Required to be able to copy/clone a paramspec
parent 89775bd2
......@@ -491,8 +491,6 @@ gegl_param_color_init (GParamSpec *self)
GEGL_PARAM_COLOR (self)->default_color = NULL;
}
GeglColor *
gegl_param_spec_color_get_default (GParamSpec *self);
GeglColor *
gegl_param_spec_color_get_default (GParamSpec *self)
{
......
......@@ -182,6 +182,16 @@ GParamSpec * gegl_param_spec_color_from_string (const gchar *name,
const gchar *blurb,
const gchar *default_color_string,
GParamFlags flags);
/**
* gegl_param_spec_color_get_default:
* @self: a #GeglColor #GParamSpec
*
* Get the default color value of the param spec
*
* Returns: (transfer none): the default #GeglColor
*/
GeglColor *
gegl_param_spec_color_get_default (GParamSpec *self);
G_END_DECLS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment