gegl r3001 - in trunk: . gegl gegl/buffer gegl/process gegl/property-types operations/common operations/external



Author: martinn
Date: Tue Mar 31 20:18:45 2009
New Revision: 3001
URL: http://svn.gnome.org/viewvc/gegl?rev=3001&view=rev

Log:
NULL-statements caused by trailing commas are non-portable

Patch from Gary V. Vaughan

Modified:
   trunk/ChangeLog
   trunk/gegl/buffer/gegl-cache.c
   trunk/gegl/gegl-chant.h
   trunk/gegl/gegl-config.c
   trunk/gegl/process/gegl-processor.c
   trunk/gegl/property-types/gegl-color.c
   trunk/gegl/property-types/gegl-curve.c
   trunk/gegl/property-types/gegl-path.c
   trunk/operations/common/layer.c
   trunk/operations/common/load.c
   trunk/operations/common/rectangle.c
   trunk/operations/external/text.c

Modified: trunk/gegl/buffer/gegl-cache.c
==============================================================================
--- trunk/gegl/buffer/gegl-cache.c	(original)
+++ trunk/gegl/buffer/gegl-cache.c	Tue Mar 31 20:18:45 2009
@@ -62,7 +62,7 @@
                                      GValue       *value,
                                      GParamSpec   *pspec);
 
-G_DEFINE_TYPE (GeglCache, gegl_cache, GEGL_TYPE_BUFFER);
+G_DEFINE_TYPE (GeglCache, gegl_cache, GEGL_TYPE_BUFFER)
 
 guint gegl_cache_signals[LAST_SIGNAL] = { 0 };
 

Modified: trunk/gegl/gegl-chant.h
==============================================================================
--- trunk/gegl/gegl-chant.h	(original)
+++ trunk/gegl/gegl-chant.h	Tue Mar 31 20:18:45 2009
@@ -107,7 +107,7 @@
   GeglOperationClass parent_class;
 } GeglChantClass;
 
-GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION);
+GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION)
 #endif
 
 #ifdef GEGL_CHANT_TYPE_META
@@ -123,7 +123,7 @@
   GeglOperationMetaClass parent_class;
 } GeglChantClass;
 
-GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_META);
+GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_META)
 #endif
 
 #ifdef GEGL_CHANT_TYPE_SOURCE
@@ -138,7 +138,7 @@
   GeglOperationSourceClass parent_class;
 } GeglChantClass;
 
-GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_SOURCE);
+GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_SOURCE)
 #endif
 
 #ifdef GEGL_CHANT_TYPE_SINK
@@ -153,7 +153,7 @@
   GeglOperationSinkClass parent_class;
 } GeglChantClass;
 
-GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_SINK);
+GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_SINK)
 #endif
 
 #ifdef GEGL_CHANT_TYPE_FILTER
@@ -168,7 +168,7 @@
   GeglOperationFilterClass parent_class;
 } GeglChantClass;
 
-GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_FILTER);
+GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_FILTER)
 #endif
 
 #ifdef GEGL_CHANT_TYPE_COMPOSER
@@ -183,7 +183,7 @@
   GeglOperationComposerClass parent_class;
 } GeglChantClass;
 
-GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_COMPOSER);
+GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_COMPOSER)
 
 #endif
 
@@ -199,7 +199,7 @@
   GeglOperationComposer3Class parent_class;
 } GeglChantClass;
 
-GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_COMPOSER3);
+GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_COMPOSER3)
 
 #endif
 
@@ -215,7 +215,7 @@
   GeglOperationPointFilterClass parent_class;
 } GeglChantClass;
 
-GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_POINT_FILTER);
+GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_POINT_FILTER)
 
 #endif
 
@@ -232,7 +232,7 @@
   GeglOperationPointRenderClass parent_class;
 } GeglChantClass;
 
-GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_POINT_RENDER);
+GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_POINT_RENDER)
 
 #endif
 
@@ -248,7 +248,7 @@
 {
   GeglOperationTemporalClass parent_class;
 } GeglChantClass;
-GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_TEMPORAL);
+GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_TEMPORAL)
 #endif
 
 #ifdef GEGL_CHANT_TYPE_AREA_FILTER
@@ -262,7 +262,7 @@
 {
   GeglOperationAreaFilterClass parent_class;
 } GeglChantClass;
-GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_AREA_FILTER);
+GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_AREA_FILTER)
 #endif
 
 
@@ -277,7 +277,7 @@
 {
   GeglOperationPointComposerClass parent_class;
 } GeglChantClass;
-GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_POINT_COMPOSER);
+GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_POINT_COMPOSER)
 #endif
 
 #ifdef GEGL_CHANT_TYPE_POINT_COMPOSER3
@@ -291,7 +291,7 @@
 {
   GeglOperationPointComposer3Class parent_class;
 } GeglChantClass;
-GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_POINT_COMPOSER3);
+GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_POINT_COMPOSER3)
 #endif
 
 #define GEGL_CHANT(obj)  ((GeglChant*)(obj))

Modified: trunk/gegl/gegl-config.c
==============================================================================
--- trunk/gegl/gegl-config.c	(original)
+++ trunk/gegl/gegl-config.c	Tue Mar 31 20:18:45 2009
@@ -24,7 +24,7 @@
 #include "gegl-types-internal.h"
 #include "gegl-config.h"
 
-G_DEFINE_TYPE (GeglConfig, gegl_config, G_TYPE_OBJECT);
+G_DEFINE_TYPE (GeglConfig, gegl_config, G_TYPE_OBJECT)
 
 static GObjectClass * parent_class = NULL;
 

Modified: trunk/gegl/process/gegl-processor.c
==============================================================================
--- trunk/gegl/process/gegl-processor.c	(original)
+++ trunk/gegl/process/gegl-processor.c	Tue Mar 31 20:18:45 2009
@@ -79,7 +79,7 @@
 };
 
 
-G_DEFINE_TYPE (GeglProcessor, gegl_processor, G_TYPE_OBJECT);
+G_DEFINE_TYPE (GeglProcessor, gegl_processor, G_TYPE_OBJECT)
 
 
 static void

Modified: trunk/gegl/property-types/gegl-color.c
==============================================================================
--- trunk/gegl/property-types/gegl-color.c	(original)
+++ trunk/gegl/property-types/gegl-color.c	Tue Mar 31 20:18:45 2009
@@ -93,7 +93,7 @@
 /* Copied into all GeglColor:s at their instantiation. */
 static const gfloat init_color[4] = { 1.f, 1.f, 1.f, 1.f };
 
-G_DEFINE_TYPE (GeglColor, gegl_color, G_TYPE_OBJECT);
+G_DEFINE_TYPE (GeglColor, gegl_color, G_TYPE_OBJECT)
 
 #define GEGL_COLOR_GET_PRIVATE(o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), GEGL_TYPE_COLOR, GeglColorPrivate))
 

Modified: trunk/gegl/property-types/gegl-curve.c
==============================================================================
--- trunk/gegl/property-types/gegl-curve.c	(original)
+++ trunk/gegl/property-types/gegl-curve.c	Tue Mar 31 20:18:45 2009
@@ -64,7 +64,7 @@
                           GValue       *value,
                           GParamSpec   *pspec);
 
-G_DEFINE_TYPE (GeglCurve, gegl_curve, G_TYPE_OBJECT);
+G_DEFINE_TYPE (GeglCurve, gegl_curve, G_TYPE_OBJECT)
 
 #define GEGL_CURVE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o),\
                                    GEGL_TYPE_CURVE, GeglCurvePrivate))

Modified: trunk/gegl/property-types/gegl-path.c
==============================================================================
--- trunk/gegl/property-types/gegl-path.c	(original)
+++ trunk/gegl/property-types/gegl-path.c	Tue Mar 31 20:18:45 2009
@@ -719,7 +719,7 @@
                           GValue       *value,
                           GParamSpec   *pspec);
 
-G_DEFINE_TYPE (GeglPath, gegl_path, G_TYPE_OBJECT);
+G_DEFINE_TYPE (GeglPath, gegl_path, G_TYPE_OBJECT)
 
 #define GEGL_PATH_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o),\
                                    GEGL_TYPE_PATH, GeglPathPrivate))

Modified: trunk/operations/common/layer.c
==============================================================================
--- trunk/operations/common/layer.c	(original)
+++ trunk/operations/common/layer.c	Tue Mar 31 20:18:45 2009
@@ -75,7 +75,7 @@
 
 #define GEGL_CHANT_C_FILE "layer.c"
 #include "gegl-chant.h"
-GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_META);
+GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_META)
 
 #include <glib/gprintf.h>
 

Modified: trunk/operations/common/load.c
==============================================================================
--- trunk/operations/common/load.c	(original)
+++ trunk/operations/common/load.c	Tue Mar 31 20:18:45 2009
@@ -46,7 +46,7 @@
 } GeglChantClass;
 
 #include "gegl-chant.h"
-GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_META);
+GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_META)
 
 #include <stdio.h>
 

Modified: trunk/operations/common/rectangle.c
==============================================================================
--- trunk/operations/common/rectangle.c	(original)
+++ trunk/operations/common/rectangle.c	Tue Mar 31 20:18:45 2009
@@ -59,7 +59,7 @@
 
 #define GEGL_CHANT_C_FILE "rectangle.c"
 #include "gegl-chant.h"
-GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_META);
+GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_META)
 
 static void attach (GeglOperation *operation)
 {

Modified: trunk/operations/external/text.c
==============================================================================
--- trunk/operations/external/text.c	(original)
+++ trunk/operations/external/text.c	Tue Mar 31 20:18:45 2009
@@ -73,7 +73,7 @@
 
 #define GEGL_CHANT_C_FILE "text.c"
 #include "gegl-chant.h"
-GEGL_DEFINE_DYNAMIC_OPERATION (GEGL_TYPE_OPERATION_SOURCE);
+GEGL_DEFINE_DYNAMIC_OPERATION (GEGL_TYPE_OPERATION_SOURCE)
 
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]