Commit ff68106b authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

app/paint/gimpairbrushoptions.c app/paint/gimpcloneoptions.c

2004-09-24  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimpairbrushoptions.c
	* app/paint/gimpcloneoptions.c
	* app/paint/gimpconvolveoptions.c
	* app/paint/gimpdodgeburnoptions.c
	* app/paint/gimperaseroptions.c
	* app/paint/gimpinkoptions.c
	* app/paint/gimppaintoptions.c
	* app/paint/gimppenciloptions.c
	* app/paint/gimpsmudgeoptions.c
	* app/tools/gimpblendoptions.c
	* app/tools/gimpbucketfilloptions.c
	* app/tools/gimpcoloroptions.c
	* app/tools/gimpcolorpickeroptions.c
	* app/tools/gimpcropoptions.c
	* app/tools/gimpflipoptions.c
	* app/tools/gimphistogramoptions.c
	* app/tools/gimpimagemapoptions.c
	* app/tools/gimpmagnifyoptions.c
	* app/tools/gimpmeasureoptions.c
	* app/tools/gimpmoveoptions.c
	* app/tools/gimppaintoptions-gui.c
	* app/tools/gimpselectionoptions.c
	* app/tools/gimptextoptions.c
	* app/tools/gimptransformoptions.c
	* app/tools/gimpvectoroptions.c: code cleanup: untabified and
	trailing whitespace removal, removed empty instance_init()
	funcions, cleaned up variable declarations/initializations.
parent 6bfa221d
2004-09-24 Michael Natterer <mitch@gimp.org>
* app/paint/gimpairbrushoptions.c
* app/paint/gimpcloneoptions.c
* app/paint/gimpconvolveoptions.c
* app/paint/gimpdodgeburnoptions.c
* app/paint/gimperaseroptions.c
* app/paint/gimpinkoptions.c
* app/paint/gimppaintoptions.c
* app/paint/gimppenciloptions.c
* app/paint/gimpsmudgeoptions.c
* app/tools/gimpblendoptions.c
* app/tools/gimpbucketfilloptions.c
* app/tools/gimpcoloroptions.c
* app/tools/gimpcolorpickeroptions.c
* app/tools/gimpcropoptions.c
* app/tools/gimpflipoptions.c
* app/tools/gimphistogramoptions.c
* app/tools/gimpimagemapoptions.c
* app/tools/gimpmagnifyoptions.c
* app/tools/gimpmeasureoptions.c
* app/tools/gimpmoveoptions.c
* app/tools/gimppaintoptions-gui.c
* app/tools/gimpselectionoptions.c
* app/tools/gimptextoptions.c
* app/tools/gimptransformoptions.c
* app/tools/gimpvectoroptions.c: code cleanup: untabified and
trailing whitespace removal, removed empty instance_init()
funcions, cleaned up variable declarations/initializations.
2004-09-23 Michael Natterer <mitch@gimp.org>
* app/tools/gimpairbrushtool.c (gimp_airbrush_tool_register)
......
......@@ -39,8 +39,7 @@ enum
};
static void gimp_airbrush_options_init (GimpAirbrushOptions *options);
static void gimp_airbrush_options_class_init (GimpAirbrushOptionsClass *options_class);
static void gimp_airbrush_options_class_init (GimpAirbrushOptionsClass *klass);
static void gimp_airbrush_options_set_property (GObject *object,
guint property_id,
......@@ -65,14 +64,14 @@ gimp_airbrush_options_get_type (void)
static const GTypeInfo info =
{
sizeof (GimpAirbrushOptionsClass),
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
(GClassInitFunc) gimp_airbrush_options_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (GimpAirbrushOptions),
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
(GClassInitFunc) gimp_airbrush_options_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (GimpAirbrushOptions),
0, /* n_preallocs */
(GInstanceInitFunc) gimp_airbrush_options_init,
(GInstanceInitFunc) NULL
};
type = g_type_register_static (GIMP_TYPE_PAINT_OPTIONS,
......@@ -83,12 +82,10 @@ gimp_airbrush_options_get_type (void)
return type;
}
static void
static void
gimp_airbrush_options_class_init (GimpAirbrushOptionsClass *klass)
{
GObjectClass *object_class;
object_class = G_OBJECT_CLASS (klass);
GObjectClass *object_class = G_OBJECT_CLASS (klass);
parent_class = g_type_class_peek_parent (klass);
......@@ -105,20 +102,13 @@ gimp_airbrush_options_class_init (GimpAirbrushOptionsClass *klass)
0);
}
static void
gimp_airbrush_options_init (GimpAirbrushOptions *options)
{
}
static void
gimp_airbrush_options_set_property (GObject *object,
guint property_id,
const GValue *value,
GParamSpec *pspec)
{
GimpAirbrushOptions *options;
options = GIMP_AIRBRUSH_OPTIONS (object);
GimpAirbrushOptions *options = GIMP_AIRBRUSH_OPTIONS (object);
switch (property_id)
{
......@@ -140,9 +130,7 @@ gimp_airbrush_options_get_property (GObject *object,
GValue *value,
GParamSpec *pspec)
{
GimpAirbrushOptions *options;
options = GIMP_AIRBRUSH_OPTIONS (object);
GimpAirbrushOptions *options = GIMP_AIRBRUSH_OPTIONS (object);
switch (property_id)
{
......
......@@ -40,8 +40,7 @@ enum
static void gimp_clone_options_init (GimpCloneOptions *options);
static void gimp_clone_options_class_init (GimpCloneOptionsClass *options_class);
static void gimp_clone_options_class_init (GimpCloneOptionsClass *klass);
static void gimp_clone_options_set_property (GObject *object,
guint property_id,
......@@ -66,14 +65,14 @@ gimp_clone_options_get_type (void)
static const GTypeInfo info =
{
sizeof (GimpCloneOptionsClass),
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
(GClassInitFunc) gimp_clone_options_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (GimpCloneOptions),
0, /* n_preallocs */
(GInstanceInitFunc) gimp_clone_options_init,
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
(GClassInitFunc) gimp_clone_options_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (GimpCloneOptions),
0, /* n_preallocs */
(GInstanceInitFunc) NULL
};
type = g_type_register_static (GIMP_TYPE_PAINT_OPTIONS,
......@@ -84,12 +83,10 @@ gimp_clone_options_get_type (void)
return type;
}
static void
static void
gimp_clone_options_class_init (GimpCloneOptionsClass *klass)
{
GObjectClass *object_class;
object_class = G_OBJECT_CLASS (klass);
GObjectClass *object_class = G_OBJECT_CLASS (klass);
parent_class = g_type_class_peek_parent (klass);
......@@ -108,20 +105,13 @@ gimp_clone_options_class_init (GimpCloneOptionsClass *klass)
0);
}
static void
gimp_clone_options_init (GimpCloneOptions *options)
{
}
static void
gimp_clone_options_set_property (GObject *object,
guint property_id,
const GValue *value,
GParamSpec *pspec)
{
GimpCloneOptions *options;
options = GIMP_CLONE_OPTIONS (object);
GimpCloneOptions *options = GIMP_CLONE_OPTIONS (object);
switch (property_id)
{
......@@ -143,9 +133,7 @@ gimp_clone_options_get_property (GObject *object,
GValue *value,
GParamSpec *pspec)
{
GimpCloneOptions *options;
options = GIMP_CLONE_OPTIONS (object);
GimpCloneOptions *options = GIMP_CLONE_OPTIONS (object);
switch (property_id)
{
......
......@@ -39,8 +39,7 @@ enum
};
static void gimp_convolve_options_init (GimpConvolveOptions *options);
static void gimp_convolve_options_class_init (GimpConvolveOptionsClass *options_class);
static void gimp_convolve_options_class_init (GimpConvolveOptionsClass *klass);
static void gimp_convolve_options_set_property (GObject *object,
guint property_id,
......@@ -65,14 +64,14 @@ gimp_convolve_options_get_type (void)
static const GTypeInfo info =
{
sizeof (GimpConvolveOptionsClass),
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
(GClassInitFunc) gimp_convolve_options_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (GimpConvolveOptions),
0, /* n_preallocs */
(GInstanceInitFunc) gimp_convolve_options_init,
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
(GClassInitFunc) gimp_convolve_options_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (GimpConvolveOptions),
0, /* n_preallocs */
(GInstanceInitFunc) NULL
};
type = g_type_register_static (GIMP_TYPE_PAINT_OPTIONS,
......@@ -83,12 +82,10 @@ gimp_convolve_options_get_type (void)
return type;
}
static void
static void
gimp_convolve_options_class_init (GimpConvolveOptionsClass *klass)
{
GObjectClass *object_class;
object_class = G_OBJECT_CLASS (klass);
GObjectClass *object_class = G_OBJECT_CLASS (klass);
parent_class = g_type_class_peek_parent (klass);
......@@ -106,20 +103,13 @@ gimp_convolve_options_class_init (GimpConvolveOptionsClass *klass)
0);
}
static void
gimp_convolve_options_init (GimpConvolveOptions *options)
{
}
static void
gimp_convolve_options_set_property (GObject *object,
guint property_id,
const GValue *value,
GParamSpec *pspec)
{
GimpConvolveOptions *options;
options = GIMP_CONVOLVE_OPTIONS (object);
GimpConvolveOptions *options = GIMP_CONVOLVE_OPTIONS (object);
switch (property_id)
{
......@@ -141,9 +131,7 @@ gimp_convolve_options_get_property (GObject *object,
GValue *value,
GParamSpec *pspec)
{
GimpConvolveOptions *options;
options = GIMP_CONVOLVE_OPTIONS (object);
GimpConvolveOptions *options = GIMP_CONVOLVE_OPTIONS (object);
switch (property_id)
{
......
......@@ -41,8 +41,7 @@ enum
};
static void gimp_dodge_burn_options_init (GimpDodgeBurnOptions *options);
static void gimp_dodge_burn_options_class_init (GimpDodgeBurnOptionsClass *options_class);
static void gimp_dodge_burn_options_class_init (GimpDodgeBurnOptionsClass *klass);
static void gimp_dodge_burn_options_set_property (GObject *object,
guint property_id,
......@@ -67,14 +66,14 @@ gimp_dodge_burn_options_get_type (void)
static const GTypeInfo info =
{
sizeof (GimpDodgeBurnOptionsClass),
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
(GClassInitFunc) gimp_dodge_burn_options_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (GimpDodgeBurnOptions),
0, /* n_preallocs */
(GInstanceInitFunc) gimp_dodge_burn_options_init,
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
(GClassInitFunc) gimp_dodge_burn_options_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (GimpDodgeBurnOptions),
0, /* n_preallocs */
(GInstanceInitFunc) NULL
};
type = g_type_register_static (GIMP_TYPE_PAINT_OPTIONS,
......@@ -85,12 +84,10 @@ gimp_dodge_burn_options_get_type (void)
return type;
}
static void
static void
gimp_dodge_burn_options_class_init (GimpDodgeBurnOptionsClass *klass)
{
GObjectClass *object_class;
object_class = G_OBJECT_CLASS (klass);
GObjectClass *object_class = G_OBJECT_CLASS (klass);
parent_class = g_type_class_peek_parent (klass);
......@@ -113,20 +110,13 @@ gimp_dodge_burn_options_class_init (GimpDodgeBurnOptionsClass *klass)
0);
}
static void
gimp_dodge_burn_options_init (GimpDodgeBurnOptions *options)
{
}
static void
gimp_dodge_burn_options_set_property (GObject *object,
guint property_id,
const GValue *value,
GParamSpec *pspec)
{
GimpDodgeBurnOptions *options;
options = GIMP_DODGE_BURN_OPTIONS (object);
GimpDodgeBurnOptions *options = GIMP_DODGE_BURN_OPTIONS (object);
switch (property_id)
{
......@@ -151,9 +141,7 @@ gimp_dodge_burn_options_get_property (GObject *object,
GValue *value,
GParamSpec *pspec)
{
GimpDodgeBurnOptions *options;
options = GIMP_DODGE_BURN_OPTIONS (object);
GimpDodgeBurnOptions *options = GIMP_DODGE_BURN_OPTIONS (object);
switch (property_id)
{
......
......@@ -37,8 +37,7 @@ enum
};
static void gimp_eraser_options_init (GimpEraserOptions *options);
static void gimp_eraser_options_class_init (GimpEraserOptionsClass *options_class);
static void gimp_eraser_options_class_init (GimpEraserOptionsClass *klass);
static void gimp_eraser_options_set_property (GObject *object,
guint property_id,
......@@ -63,14 +62,14 @@ gimp_eraser_options_get_type (void)
static const GTypeInfo info =
{
sizeof (GimpEraserOptionsClass),
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
(GClassInitFunc) gimp_eraser_options_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (GimpEraserOptions),
0, /* n_preallocs */
(GInstanceInitFunc) gimp_eraser_options_init,
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
(GClassInitFunc) gimp_eraser_options_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (GimpEraserOptions),
0, /* n_preallocs */
(GInstanceInitFunc) NULL
};
type = g_type_register_static (GIMP_TYPE_PAINT_OPTIONS,
......@@ -84,9 +83,7 @@ gimp_eraser_options_get_type (void)
static void
gimp_eraser_options_class_init (GimpEraserOptionsClass *klass)
{
GObjectClass *object_class;
object_class = G_OBJECT_CLASS (klass);
GObjectClass *object_class = G_OBJECT_CLASS (klass);
parent_class = g_type_class_peek_parent (klass);
......@@ -99,20 +96,13 @@ gimp_eraser_options_class_init (GimpEraserOptionsClass *klass)
0);
}
static void
gimp_eraser_options_init (GimpEraserOptions *options)
{
}
static void
gimp_eraser_options_set_property (GObject *object,
guint property_id,
const GValue *value,
GParamSpec *pspec)
{
GimpEraserOptions *options;
options = GIMP_ERASER_OPTIONS (object);
GimpEraserOptions *options = GIMP_ERASER_OPTIONS (object);
switch (property_id)
{
......@@ -131,9 +121,7 @@ gimp_eraser_options_get_property (GObject *object,
GValue *value,
GParamSpec *pspec)
{
GimpEraserOptions *options;
options = GIMP_ERASER_OPTIONS (object);
GimpEraserOptions *options = GIMP_ERASER_OPTIONS (object);
switch (property_id)
{
......
......@@ -48,8 +48,7 @@ enum
};
static void gimp_ink_options_init (GimpInkOptions *options);
static void gimp_ink_options_class_init (GimpInkOptionsClass *options_class);
static void gimp_ink_options_class_init (GimpInkOptionsClass *klass);
static void gimp_ink_options_set_property (GObject *object,
guint property_id,
......@@ -74,14 +73,14 @@ gimp_ink_options_get_type (void)
static const GTypeInfo info =
{
sizeof (GimpInkOptionsClass),
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
(GClassInitFunc) gimp_ink_options_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (GimpInkOptions),
0, /* n_preallocs */
(GInstanceInitFunc) gimp_ink_options_init,
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
(GClassInitFunc) gimp_ink_options_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (GimpInkOptions),
0, /* n_preallocs */
(GInstanceInitFunc) NULL
};
type = g_type_register_static (GIMP_TYPE_PAINT_OPTIONS,
......@@ -139,11 +138,6 @@ gimp_ink_options_class_init (GimpInkOptionsClass *klass)
0);
}
static void
gimp_ink_options_init (GimpInkOptions *options)
{
}
static void
gimp_ink_options_set_property (GObject *object,
guint property_id,
......
......@@ -77,8 +77,8 @@ enum
};
static void gimp_paint_options_init (GimpPaintOptions *options);
static void gimp_paint_options_class_init (GimpPaintOptionsClass *options_class);
static void gimp_paint_options_init (GimpPaintOptions *options);
static void gimp_paint_options_class_init (GimpPaintOptionsClass *klass);
static void gimp_paint_options_finalize (GObject *object);
static void gimp_paint_options_set_property (GObject *object,
......@@ -106,14 +106,14 @@ gimp_paint_options_get_type (void)
static const GTypeInfo info =
{
sizeof (GimpPaintOptionsClass),
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
(GClassInitFunc) gimp_paint_options_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (GimpPaintOptions),
0, /* n_preallocs */
(GInstanceInitFunc) gimp_paint_options_init,
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
(GClassInitFunc) gimp_paint_options_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (GimpPaintOptions),
0, /* n_preallocs */
(GInstanceInitFunc) gimp_paint_options_init,
};
type = g_type_register_static (GIMP_TYPE_TOOL_OPTIONS,
......@@ -127,9 +127,7 @@ gimp_paint_options_get_type (void)
static void
gimp_paint_options_class_init (GimpPaintOptionsClass *klass)
{
GObjectClass *object_class;
object_class = G_OBJECT_CLASS (klass);
GObjectClass *object_class = G_OBJECT_CLASS (klass);
parent_class = g_type_class_peek_parent (klass);
......@@ -241,13 +239,11 @@ gimp_paint_options_set_property (GObject *object,
const GValue *value,
GParamSpec *pspec)
{
GimpPaintOptions *options;
GimpPaintOptions *options = GIMP_PAINT_OPTIONS (object);
GimpPressureOptions *pressure_options;
GimpFadeOptions *fade_options;
GimpGradientOptions *gradient_options;
options = GIMP_PAINT_OPTIONS (object);
pressure_options = options->pressure_options;
fade_options = options->fade_options;
gradient_options = options->gradient_options;
......@@ -319,13 +315,11 @@ gimp_paint_options_get_property (GObject *object,
GValue *value,
GParamSpec *pspec)
{
GimpPaintOptions *options;
GimpPaintOptions *options = GIMP_PAINT_OPTIONS (object);
GimpPressureOptions *pressure_options;
GimpFadeOptions *fade_options;
GimpGradientOptions *gradient_options;
options = GIMP_PAINT_OPTIONS (object);
pressure_options = options->pressure_options;
fade_options = options->fade_options;
gradient_options = options->gradient_options;
......@@ -395,9 +389,7 @@ static void
gimp_paint_options_notify (GObject *object,
GParamSpec *pspec)
{
GimpPaintOptions *options;
options = GIMP_PAINT_OPTIONS (object);
GimpPaintOptions *options = GIMP_PAINT_OPTIONS (object);
if (pspec->param_id == PROP_USE_GRADIENT)
{
......
......@@ -37,8 +37,7 @@ enum
};
static void gimp_pencil_options_init (GimpPencilOptions *options);
static void gimp_pencil_options_class_init (GimpPencilOptionsClass *options_class);
static void gimp_pencil_options_class_init (GimpPencilOptionsClass *klass);
static void gimp_pencil_options_set_property (GObject *object,
guint property_id,
......@@ -63,14 +62,14 @@ gimp_pencil_options_get_type (void)
static const GTypeInfo info =
{
sizeof (GimpPencilOptionsClass),
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
(GClassInitFunc) gimp_pencil_options_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (GimpPencilOptions),
0, /* n_preallocs */
(GInstanceInitFunc) gimp_pencil_options_init,
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
(GClassInitFunc) gimp_pencil_options_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (GimpPencilOptions),
0, /* n_preallocs */
(GInstanceInitFunc) NULL
};
type = g_type_register_static (GIMP_TYPE_PAINT_OPTIONS,
......@@ -84,9 +83,7 @@ gimp_pencil_options_get_type (void)
static void
gimp_pencil_options_class_init (GimpPencilOptionsClass *klass)
{
GObjectClass *object_class;
object_class = G_OBJECT_CLASS (klass);
GObjectClass *object_class = G_OBJECT_CLASS (klass);
parent_class = g_type_class_peek_parent (klass);
......@@ -99,20 +96,13 @@ gimp_pencil_options_class_init (GimpPencilOptionsClass *klass)
0);
}
static void
gimp_pencil_options_init (GimpPencilOptions *options)
{
}
static void
gimp_pencil_options_set_property (GObject *object,
guint property_id,
const GValue *value,
GParamSpec *pspec)
{
GimpPencilOptions *options;
options = GIMP_PENCIL_OPTIONS (object);
GimpPencilOptions *options = GIMP_PENCIL_OPTIONS (object);
switch (property_id)
{
......@@ -131,9 +121,7 @@ gimp_pencil_options_get_property (GObject *object,
GValue *value,
GParamSpec *pspec)
{
GimpPencilOptions *options;
options = GIMP_PENCIL_OPTIONS (object);
GimpPencilOptions *options = GIMP_PENCIL_OPTIONS (object);
switch (property_id)
{
......
......@@ -37,8 +37,7 @@ enum
};
static void gimp_smudge_options_init (GimpSmudgeOptions *options);
static void gimp_smudge_options_class_init (GimpSmudgeOptionsClass *options_class);
static void gimp_smudge_options_class_init (GimpSmudgeOptionsClass *klass);
static void gimp_smudge_options_set_property (GObject *object,
guint property_id,
......@@ -63,14 +62,14 @@ gimp_smudge_options_get_type (void)
static const GTypeInfo info =
{
sizeof (GimpSmudgeOptionsClass),
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
(GClassInitFunc) gimp_smudge_options_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (GimpSmudgeOptions),
0, /* n_preallocs */
(GInstanceInitFunc) gimp_smudge_options_init,
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
(GClassInitFunc) gimp_smudge_options_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (GimpSmudgeOptions),
0, /* n_preallocs */
(GInstanceInitFunc) NULL
};
type = g_type_register_static (GIMP_TYPE_PAINT_OPTIONS,
......@@ -81,12 +80,10 @@ gimp_smudge_options_get_type (void)
return type;
}
static void
static void
gimp_smudge_options_class_init (GimpSmudgeOptionsClass *klass)
{
GObjectClass *object_class;
object_class = G_OBJECT_CLASS (klass);
GObjectClass *object_class = G_OBJECT_CLASS (klass);
parent_class = g_type_class_peek_parent (klass);
......@@ -99,20 +96,13 @@ gimp_smudge_options_class_init (GimpSmudgeOptionsClass *klass)
0);
}
static void
gimp_smudge_options_init (GimpSmudgeOptions *options)
{
}
static void
gimp_smudge_options_set_property (GObject *object,
guint property_id,
const GValue *value,
GParamSpec *pspec)
{
GimpSmudgeOptions *options;
options = GIMP_SMUDGE_OPTIONS (object);
GimpSmudgeOptions *options = GIMP_SMUDGE_OPTIONS (object);
switch (property_id)
{
......@@ -131,9 +121,7 @@ gimp_smudge_options_get_property (GObject *object,
GValue *value,
GParamSpec *pspec)
{
GimpSmudgeOptions *options;
options = GIMP_SMUDGE_OPTIONS (object);
GimpSmudgeOptions *options = GIMP_SMUDGE_OPTIONS (object);
switch (property_id)
{
......
......@@ -40,8 +40,7 @@ enum
static void gimp_clone_options_init (GimpCloneOptions *options);
static void gimp_clone_options_class_init (GimpCloneOptionsClass *options_class);
static void gimp_clone_options_class_init (GimpCloneOptionsClass *klass);
static void gimp_clone_options_set_property (GObject *object,
guint property_id,
......@@ -66,14 +65,14 @@ gimp_clone_options_get_type (void)
static const GTypeInfo info =
{
sizeof (GimpCloneOptionsClass),
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
(GClassInitFunc) gimp_clone_options_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (GimpCloneOptions),
0, /* n_preallocs */
(GInstanceInitFunc) gimp_clone_options_init,
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
(GClassInitFunc) gimp_clone_options_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (GimpCloneOptions),
0, /* n_preallocs */
(GInstanceInitFunc) NULL