mirror of https://github.com/GNOME/gimp.git
gimpoperationcagetransform: clean unnecessery code
This commit is contained in:
parent
69cf476387
commit
90d3900fbc
|
@ -101,8 +101,7 @@ gimp_operation_cage_transform_class_init (GimpOperationCageTransformClass *klass
|
|||
static void
|
||||
gimp_operation_cage_transform_init (GimpOperationCageTransform *self)
|
||||
{
|
||||
self->source = g_malloc( 3 * sizeof (GimpCoords));
|
||||
self->dest = g_malloc( 3 * sizeof (GimpCoords));
|
||||
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -115,9 +114,6 @@ gimp_operation_cage_transform_finalize (GObject *object)
|
|||
g_object_unref (self->config);
|
||||
self->config = NULL;
|
||||
}
|
||||
|
||||
g_free (self->source);
|
||||
g_free (self->dest);
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||
}
|
||||
|
|
|
@ -44,9 +44,6 @@ struct _GimpOperationCageTransform
|
|||
GeglOperationFilter parent_instance;
|
||||
|
||||
GimpCageConfig *config;
|
||||
|
||||
GimpCoords *source; /* used when interpolating coordinates */
|
||||
GimpCoords *dest;
|
||||
};
|
||||
|
||||
struct _GimpOperationCageTransformClass
|
||||
|
|
Loading…
Reference in New Issue