[gegl] property-types: remove duplicate typedef of GeglParamSpecString
- From: Ãyvind KolÃs <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] property-types: remove duplicate typedef of GeglParamSpecString
- Date: Fri, 30 Mar 2012 16:21:25 +0000 (UTC)
commit 2ffc5b3ba865ea53f58d828a69b6c3532ed677b5
Author: Ãyvind KolÃs <pippin gimp org>
Date: Fri Mar 30 17:21:00 2012 +0100
property-types: remove duplicate typedef of GeglParamSpecString
gegl/property-types/gegl-paramspecs.h | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/gegl/property-types/gegl-paramspecs.h b/gegl/property-types/gegl-paramspecs.h
index 2de05bb..03ffc25 100644
--- a/gegl/property-types/gegl-paramspecs.h
+++ b/gegl/property-types/gegl-paramspecs.h
@@ -45,7 +45,7 @@ typedef struct _GeglParamSpecInt GeglParamSpecInt;
#define GEGL_TYPE_PARAM_DOUBLE (gegl_param_double_get_type ())
#define GEGL_PARAM_SPEC_DOUBLE(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), GEGL_TYPE_PARAM_DOUBLE, GeglParamSpecDouble))
-#define GEGL_IS_PARAM_SPEC_DOUBLE (pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), GEGL_TYPE_PARAM_DOUBLE))
+#define GEGL_IS_PARAM_SPEC_DOUBLE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), GEGL_TYPE_PARAM_DOUBLE))
struct _GeglParamSpecDouble
@@ -79,9 +79,9 @@ GParamSpec * gegl_param_spec_double (const gchar *name,
* GEGL_TYPE_PARAM_INT
*/
-#define GEGL_TYPE_PARAM_INT (gegl_param_int_get_type ())
-#define GEGL_PARAM_SPEC_INT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), GEGL_TYPE_PARAM_INT, GeglParamSpecInt))
-#define GEGL_IS_PARAM_SPEC_INT (pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), GEGL_TYPE_PARAM_INT))
+#define GEGL_TYPE_PARAM_INT (gegl_param_int_get_type ())
+#define GEGL_PARAM_SPEC_INT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), GEGL_TYPE_PARAM_INT, GeglParamSpecInt))
+#define GEGL_IS_PARAM_SPEC_INT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), GEGL_TYPE_PARAM_INT))
struct _GeglParamSpecInt
@@ -112,8 +112,6 @@ GParamSpec * gegl_param_spec_int (const gchar *name,
#define GEGL_PARAM_SPEC_STRING(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), GEGL_TYPE_PARAM_STRING, GeglParamSpecString))
#define GEGL_IS_PARAM_SPEC_STRING(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), GEGL_TYPE_PARAM_STRING))
-typedef struct _GeglParamSpecString GeglParamSpecString;
-
struct _GeglParamSpecString
{
GParamSpecString parent_instance;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]