[gnome-photos] gegl: Add autocleanups for GeglOperation and its relevant sub-classes



commit b633477b4383931597a9c0cd4708edb53023760f
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Mar 21 09:32:15 2017 +0100

    gegl: Add autocleanups for GeglOperation and its relevant sub-classes
    
    Let GNOME Photos carry them until they are added to GEGL itself.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=763712
    https://bugzilla.gnome.org/show_bug.cgi?id=780083

 src/photos-gegl.h |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-gegl.h b/src/photos-gegl.h
index 11d0176..bb6f4d8 100644
--- a/src/photos-gegl.h
+++ b/src/photos-gegl.h
@@ -60,6 +60,20 @@ gboolean         photos_gegl_processor_process_finish     (GeglProcessor *proces
 
 void             photos_gegl_remove_children_from_node    (GeglNode *node);
 
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (GeglOperation, g_object_unref);
+
+typedef struct _GeglOperationMeta GeglOperationMeta;
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (GeglOperationMeta, g_object_unref);
+
+typedef struct _GeglOperationPointFilter GeglOperationPointFilter;
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (GeglOperationPointFilter, g_object_unref);
+
+typedef struct _GeglOperationPointRender GeglOperationPointRender;
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (GeglOperationPointRender, g_object_unref);
+
+typedef struct _GeglOperationSink GeglOperationSink;
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (GeglOperationSink, g_object_unref);
+
 G_END_DECLS
 
 #endif /* PHOTOS_GEGL_H */


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