[gegl] operations/common/copy-buffer: Clean up



commit 014ec17796e0132601293cb0bc0f35ad1b68380f
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Nov 16 19:38:52 2015 +0100

    operations/common/copy-buffer: Clean up
    
    Let the chant system destroy the properties.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=758190

 operations/common/copy-buffer.c |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/operations/common/copy-buffer.c b/operations/common/copy-buffer.c
index 2f60f77..7221385 100644
--- a/operations/common/copy-buffer.c
+++ b/operations/common/copy-buffer.c
@@ -134,31 +134,14 @@ process (GeglOperation       *operation,
 }
 
 static void
-dispose (GObject *object)
-{
-  GeglProperties *o = GEGL_PROPERTIES (object);
-
-  if (o->buffer)
-    {
-      g_object_unref (o->buffer);
-      o->buffer = NULL;
-    }
-
-  G_OBJECT_CLASS (gegl_op_parent_class)->dispose (object);
-}
-
-static void
 gegl_op_class_init (GeglOpClass *klass)
 {
-  GObjectClass             *object_class;
   GeglOperationClass       *operation_class;
   GeglOperationFilterClass *filter_class;
 
-  object_class    = G_OBJECT_CLASS (klass);
   operation_class = GEGL_OPERATION_CLASS (klass);
   filter_class    = GEGL_OPERATION_FILTER_CLASS (klass);
 
-  object_class->dispose     = dispose;
   operation_class->prepare  = prepare;
   operation_class->no_cache = TRUE;
   filter_class->process     = process;


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