gegl r1959 - in trunk: . gegl
- From: ok svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r1959 - in trunk: . gegl
- Date: Tue, 5 Feb 2008 12:22:12 +0000 (GMT)
Author: ok
Date: Tue Feb 5 12:22:11 2008
New Revision: 1959
URL: http://svn.gnome.org/viewvc/gegl?rev=1959&view=rev
Log:
* gegl/gegl-plugin.h: make GeglParamColor and it's type check public
(quick hack for now, gegl-color.h should be installed).
Modified:
trunk/ChangeLog
trunk/gegl/gegl-plugin.h
Modified: trunk/gegl/gegl-plugin.h
==============================================================================
--- trunk/gegl/gegl-plugin.h (original)
+++ trunk/gegl/gegl-plugin.h Tue Feb 5 12:22:11 2008
@@ -77,6 +77,7 @@
const gchar *padname,
GObject *data);
+/** hack **/
GParamSpec *
gegl_param_spec_color_from_string (const gchar *name,
@@ -85,6 +86,21 @@
const gchar *default_color_string,
GParamFlags flags);
+
+GType gegl_param_color_get_type (void) G_GNUC_CONST;
+
+GParamSpec * gegl_param_spec_color (const gchar *name,
+ const gchar *nick,
+ const gchar *blurb,
+ GeglColor *default_color,
+ GParamFlags flags);
+
+#define GEGL_TYPE_PARAM_COLOR (gegl_param_color_get_type ())
+#define GEGL_PARAM_SPEC_COLOR(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), GEGL_TYPE_PARAM_COLOR, GeglParamSpecInt16))
+#define GEGL_IS_PARAM_SPEC_COLOR(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), GEGL_TYPE_PARAM_COLOR))
+
+/**** hack ***/
+
/* Probably needs a more API exposed */
GParamSpec * gegl_param_spec_curve (const gchar *name,
const gchar *nick,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]