gegl r1879 - in trunk: . gegl/buffer gegl/graph gegl/process



Author: mitch
Date: Mon Jan 21 10:11:03 2008
New Revision: 1879
URL: http://svn.gnome.org/viewvc/gegl?rev=1879&view=rev

Log:
2008-01-21  Michael Natterer  <mitch gimp org>

	* gegl/graph/gegl-node.h
	* gegl/process/gegl-eval-mgr.h: cosmetic.

	* gegl/buffer/gegl-sampler-cubic.h: no need to inlcude anything but
	the parent class; cleanup.



Modified:
   trunk/ChangeLog
   trunk/gegl/buffer/gegl-sampler-cubic.h
   trunk/gegl/graph/gegl-node.h
   trunk/gegl/process/gegl-eval-mgr.h

Modified: trunk/gegl/buffer/gegl-sampler-cubic.h
==============================================================================
--- trunk/gegl/buffer/gegl-sampler-cubic.h	(original)
+++ trunk/gegl/buffer/gegl-sampler-cubic.h	Mon Jan 21 10:11:03 2008
@@ -14,32 +14,33 @@
  * License along with GEGL; if not, see <http://www.gnu.org/licenses/>.
  *
  */
-#ifndef _GEGL_SAMPLER_CUBIC_H__
-#define _GEGL_SAMPLER_CUBIC_H__
+#ifndef __GEGL_SAMPLER_CUBIC_H__
+#define __GEGL_SAMPLER_CUBIC_H__
 
-#include <glib-object.h>
-#include "gegl-types.h"
 #include "gegl-sampler.h"
 
 G_BEGIN_DECLS
 
-#define GEGL_TYPE_SAMPLER_CUBIC               (gegl_sampler_cubic_get_type ())
-#define GEGL_SAMPLER_CUBIC(obj)               (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEGL_TYPE_SAMPLER_CUBIC, GeglSamplerCubic))
-#define GEGL_SAMPLER_CUBIC_CLASS(klass)       (G_TYPE_CHECK_CLASS_CAST ((klass),  GEGL_TYPE_SAMPLER_CUBIC, GeglSamplerCubicClass))
-#define GEGL_SAMPLER_CUBIC_GET_CLASS(obj)     (G_TYPE_INSTANCE_GET_CLASS ((obj),  GEGL_TYPE_SAMPLER_CUBIC, GeglSamplerCubicClass))
+#define GEGL_TYPE_SAMPLER_CUBIC                (gegl_sampler_cubic_get_type ())
+#define GEGL_SAMPLER_CUBIC(obj)                (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEGL_TYPE_SAMPLER_CUBIC, GeglSamplerCubic))
+#define GEGL_SAMPLER_CUBIC_CLASS(klass)        (G_TYPE_CHECK_CLASS_CAST ((klass),  GEGL_TYPE_SAMPLER_CUBIC, GeglSamplerCubicClass))
+#define GEGL_IS_SAMPLER_CUBIC(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEGL_TYPE_SAMPLER_CUBIC))
+#define GEGL_IS_SAMPLER_CUBIC_CLASS(klass)     (G_TYPE_CHECK_CLASS_TYPE ((klass),  GEGL_TYPE_SAMPLER_CUBIC))
+#define GEGL_SAMPLER_CUBIC_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj),  GEGL_TYPE_SAMPLER_CUBIC, GeglSamplerCubicClass))
+
+typedef struct _GeglSamplerCubic      GeglSamplerCubic;
+typedef struct _GeglSamplerCubicClass GeglSamplerCubicClass;
 
-typedef struct _GeglSamplerCubic  GeglSamplerCubic;
 struct _GeglSamplerCubic
 {
   GeglSampler parent_instance;
 
   /*< private >*/
-  gdouble  b;
-  gdouble  c;
-  gchar   *type;
+  gdouble     b;
+  gdouble     c;
+  gchar      *type;
 };
 
-typedef struct _GeglSamplerCubicClass GeglSamplerCubicClass;
 struct _GeglSamplerCubicClass
 {
   GeglSamplerClass parent_class;

Modified: trunk/gegl/graph/gegl-node.h
==============================================================================
--- trunk/gegl/graph/gegl-node.h	(original)
+++ trunk/gegl/graph/gegl-node.h	Mon Jan 21 10:11:03 2008
@@ -40,6 +40,7 @@
 struct _GeglNode
 {
   GObject         parent_instance;
+
   GeglOperation  *operation;
   GeglRectangle   have_rect;
   GSList         *pads;

Modified: trunk/gegl/process/gegl-eval-mgr.h
==============================================================================
--- trunk/gegl/process/gegl-eval-mgr.h	(original)
+++ trunk/gegl/process/gegl-eval-mgr.h	Mon Jan 21 10:11:03 2008
@@ -37,7 +37,8 @@
 
 struct _GeglEvalMgr
 {
-  GObject    parent_instance;
+  GObject       parent_instance;
+
   GeglRectangle roi;
 };
 
@@ -47,11 +48,11 @@
 };
 
 
-GType   gegl_eval_mgr_get_type (void) G_GNUC_CONST;
+GType        gegl_eval_mgr_get_type (void) G_GNUC_CONST;
 
-GeglBuffer *gegl_eval_mgr_apply (GeglEvalMgr *self,
-                                 GeglNode    *root,
-                                 const gchar *property_name);
+GeglBuffer * gegl_eval_mgr_apply    (GeglEvalMgr *self,
+                                     GeglNode    *root,
+                                     const gchar *property_name);
 
 
 G_END_DECLS



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