Commit 60f0ac15 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

renamed chant_parent_class to gegl_chant_parent_class. Removed

2008-07-29  Sven Neumann  <sven@gimp.org>

	* gegl/gegl-chant.h: renamed chant_parent_class to
	gegl_chant_parent_class. Removed ##type_parent_class as that was
	only an alias for gegl_chant_parent_class.

	* operations/common/layer.c
	* operations/common/load-buffer.c
	* operations/common/load.c
	* operations/common/mblur.c
	* operations/common/open-buffer.c
	* operations/common/rectangle.c
	* operations/external/ff-load.c
	* operations/external/text.c
	* operations/external/v4l.c: changed accordingly.


svn path=/trunk/; revision=2542
parent 28d32d9f
2008-07-29 Sven Neumann <sven@gimp.org>
* gegl/gegl-chant.h: renamed chant_parent_class to
gegl_chant_parent_class. Removed ##type_parent_class as that was
only an alias for gegl_chant_parent_class.
* operations/common/layer.c
* operations/common/load-buffer.c
* operations/common/load.c
* operations/common/mblur.c
* operations/common/open-buffer.c
* operations/common/rectangle.c
* operations/external/ff-load.c
* operations/external/text.c
* operations/external/v4l.c: changed accordingly.
2008-07-29 Sven Neumann <sven@gimp.org>
* operations/common/layer.c
......
......@@ -36,19 +36,17 @@ typedef struct _GeglChant GeglChant;
static void gegl_chant_register_type (GTypeModule *module);
static void gegl_chant_init_properties (GeglChant *self);
static void gegl_chant_class_intern_init (gpointer klass);
static gpointer chant_parent_class = NULL;
static gpointer gegl_chant_parent_class = NULL;
#define GEGL_DEFINE_DYNAMIC_OPERATION(T_P) GEGL_DEFINE_DYNAMIC_OPERATION_EXTENDED (GEGL_CHANT_C_FILE, GeglChant, gegl_chant, T_P, 0, {})
#define GEGL_DEFINE_DYNAMIC_OPERATION_EXTENDED(C_FILE, TypeName, type_name, TYPE_PARENT, flags, CODE) \
static void type_name##_init (TypeName *self); \
static void type_name##_class_init (TypeName##Class *klass); \
static void type_name##_class_finalize (TypeName##Class *klass); \
static gpointer type_name##_parent_class = NULL; \
static GType type_name##_type_id = 0; \
static void type_name##_class_chant_intern_init (gpointer klass) \
{ \
type_name##_parent_class = g_type_class_peek_parent (klass); \
chant_parent_class = type_name##_parent_class; \
gegl_chant_parent_class = g_type_class_peek_parent (klass); \
type_name##_class_init ((TypeName##Class*) klass); \
gegl_chant_class_intern_init (klass); \
} \
......@@ -623,7 +621,7 @@ gegl_chant_constructor (GType type,
{
GObject *obj;
obj = G_OBJECT_CLASS (chant_parent_class)->constructor (
obj = G_OBJECT_CLASS (gegl_chant_parent_class)->constructor (
type, n_construct_properties, construct_properties);
g_object_set_data_full (obj, "chant-data", obj, gegl_chant_destroy_notify);
......
......@@ -86,7 +86,7 @@ finalize (GObject *object)
o->chant_data = NULL;
}
G_OBJECT_CLASS (chant_parent_class)->finalize (object);
G_OBJECT_CLASS (gegl_chant_parent_class)->finalize (object);
}
static void
......@@ -108,8 +108,8 @@ notify (GObject *object,
}
}
if (G_OBJECT_CLASS (chant_parent_class)->notify)
G_OBJECT_CLASS (chant_parent_class)->notify (object, pspec);
if (G_OBJECT_CLASS (gegl_chant_parent_class)->notify)
G_OBJECT_CLASS (gegl_chant_parent_class)->notify (object, pspec);
}
......
......@@ -218,7 +218,7 @@ finalize (GObject *object)
if (self->p_composite_op)
g_free (self->p_composite_op);
G_OBJECT_CLASS (chant_parent_class)->finalize (object);
G_OBJECT_CLASS (gegl_chant_parent_class)->finalize (object);
}
static void
......
......@@ -74,7 +74,7 @@ dispose (GObject *object)
o->buffer = NULL;
}
G_OBJECT_CLASS (chant_parent_class)->dispose (object);
G_OBJECT_CLASS (gegl_chant_parent_class)->dispose (object);
}
......
......@@ -152,7 +152,7 @@ dispose (GObject *object)
self->cached_path = NULL;
}
G_OBJECT_CLASS (chant_parent_class)->dispose (object);
G_OBJECT_CLASS (gegl_chant_parent_class)->dispose (object);
}
static void
......
......@@ -115,7 +115,7 @@ finalize (GObject *object)
o->chant_data = NULL;
}
G_OBJECT_CLASS (chant_parent_class)->finalize (object);
G_OBJECT_CLASS (gegl_chant_parent_class)->finalize (object);
}
......
......@@ -101,7 +101,7 @@ dispose (GObject *object)
o->chant_data = NULL;
}
G_OBJECT_CLASS (chant_parent_class)->dispose (object);
G_OBJECT_CLASS (gegl_chant_parent_class)->dispose (object);
}
......
......@@ -416,7 +416,7 @@ finalize (GObject *object)
o->chant_data = NULL;
}
G_OBJECT_CLASS (chant_parent_class)->finalize (object);
G_OBJECT_CLASS (gegl_chant_parent_class)->finalize (object);
}
......
......@@ -261,7 +261,7 @@ finalize (GObject *object)
if (self->cex.font)
g_free (self->cex.font);
G_OBJECT_CLASS (chant_parent_class)->finalize (object);
G_OBJECT_CLASS (gegl_chant_parent_class)->finalize (object);
}
static void
......
......@@ -182,7 +182,7 @@ finalize (GObject *object)
o->chant_data = NULL;
}
G_OBJECT_CLASS (chant_parent_class)->finalize (object);
G_OBJECT_CLASS (gegl_chant_parent_class)->finalize (object);
}
static gboolean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment