gegl r2447 - in trunk: . gegl/process
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r2447 - in trunk: . gegl/process
- Date: Sat, 14 Jun 2008 14:33:11 +0000 (UTC)
Author: martinn
Date: Sat Jun 14 14:33:11 2008
New Revision: 2447
URL: http://svn.gnome.org/viewvc/gegl?rev=2447&view=rev
Log:
2008-06-14 Martin Nordholts <martinn svn gnome org>
* gegl/process/gegl-processor.c: Function definition cleanups.
Modified:
trunk/ChangeLog
trunk/gegl/process/gegl-processor.c
Modified: trunk/gegl/process/gegl-processor.c
==============================================================================
--- trunk/gegl/process/gegl-processor.c (original)
+++ trunk/gegl/process/gegl-processor.c Sat Jun 14 14:33:11 2008
@@ -70,7 +70,8 @@
G_DEFINE_TYPE (GeglProcessor, gegl_processor, G_TYPE_OBJECT);
-static void gegl_processor_class_init (GeglProcessorClass *klass)
+static void
+gegl_processor_class_init (GeglProcessorClass *klass)
{
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
@@ -99,7 +100,8 @@
G_PARAM_CONSTRUCT_ONLY));
}
-static void gegl_processor_init (GeglProcessor *processor)
+static void
+gegl_processor_init (GeglProcessor *processor)
{
processor->node = NULL;
processor->input = NULL;
@@ -110,9 +112,10 @@
}
-static GObject *constructor (GType type,
- guint n_params,
- GObjectConstructParam *params)
+static GObject *
+constructor (GType type,
+ guint n_params,
+ GObjectConstructParam *params)
{
GObject *object;
GeglProcessor *processor;
@@ -143,7 +146,8 @@
}
-static void finalize (GObject *self_object)
+static void
+finalize (GObject *self_object)
{
GeglProcessor *processor = GEGL_PROCESSOR (self_object);
@@ -296,7 +300,8 @@
}
/* returns TRUE if there is more work */
-static gboolean render_rectangle (GeglProcessor *processor)
+static gboolean
+render_rectangle (GeglProcessor *processor)
{
gboolean buffered;
const gint max_area = processor->chunk_size;
@@ -405,12 +410,14 @@
}
-static gint rect_area (GeglRectangle *rectangle)
+static gint
+rect_area (GeglRectangle *rectangle)
{
return rectangle->width * rectangle->height;
}
-static gint region_area (GeglRegion *region)
+static gint
+region_area (GeglRegion *region)
{
GeglRectangle *rectangles;
gint n_rectangles;
@@ -428,7 +435,8 @@
return sum;
}
-static gint area_left (GeglRegion *area,
+static gint
+area_left (GeglRegion *area,
GeglRectangle *rectangle)
{
GeglRegion *region;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]