[gnome-photos] Revert "gegl: Add autocleanups for GeglOperation and its relevant ..."



commit 53edc6f7eabf6b53b6eec036fd738ecc58ef3521
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon May 1 22:15:48 2017 +0200

    Revert "gegl: Add autocleanups for GeglOperation and its relevant ..."
    
    GEGL 0.3.15 provides the autocleanup definitions for GeglOperation and
    its sub-classes. There is no need to carry them in GNOME Photos anymore. In
    fact, doing so will break the build with GEGL master.
    
    This reverts commit b633477b4383931597a9c0cd4708edb53023760f.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=780083
    https://bugzilla.gnome.org/show_bug.cgi?id=782012

 configure.ac      |    2 +-
 src/photos-gegl.h |   14 --------------
 2 files changed, 1 insertions(+), 15 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 486263a..68396c5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,7 +38,7 @@ GLIB_GSETTINGS
 
 CAIRO_MIN_VERSION=1.14.0
 GDATA_MIN_VERSION=0.15.2
-GEGL_MIN_VERSION=0.3.14
+GEGL_MIN_VERSION=0.3.15
 GFBGRAPH_MIN_VERSION=0.2.1
 GLIB_MIN_VERSION=2.44.0
 GOA_MIN_VERSION=3.8.0
diff --git a/src/photos-gegl.h b/src/photos-gegl.h
index bb6f4d8..11d0176 100644
--- a/src/photos-gegl.h
+++ b/src/photos-gegl.h
@@ -60,20 +60,6 @@ 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]