[gnome-photos/issue-149: 34/34] Remove gegl_operation_meta_watch_node() and friends



commit 0725f1c3f1a10b514b075f7da46165389feb8f6d
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue May 19 16:14:40 2020 +0100

    Remove gegl_operation_meta_watch_node() and friends
    
    Gegl 0.4.23 removed these symbols: properties are automatically
    monitored and forwarded through g_object_bind_property().
    
    Fixes: #149

 src/photos-operation-insta-filter.c | 2 --
 src/photos-operation-insta-hefe.c   | 2 --
 2 files changed, 4 deletions(-)
---
diff --git a/src/photos-operation-insta-filter.c b/src/photos-operation-insta-filter.c
index 339940d9..7b9aecf7 100644
--- a/src/photos-operation-insta-filter.c
+++ b/src/photos-operation-insta-filter.c
@@ -131,12 +131,10 @@ photos_operation_insta_filter_setup (PhotosOperationInstaFilter *self)
           GeglNode *source = GEGL_NODE (l->data);
 
           gegl_node_link (source, sink);
-          gegl_operation_meta_watch_node (operation, source);
         }
 
       node = GEGL_NODE (l->data);
       gegl_node_link (node, self->output);
-      gegl_operation_meta_watch_node (operation, node);
     }
 }
 
diff --git a/src/photos-operation-insta-hefe.c b/src/photos-operation-insta-hefe.c
index 40cef0af..3f7936c5 100644
--- a/src/photos-operation-insta-hefe.c
+++ b/src/photos-operation-insta-hefe.c
@@ -66,8 +66,6 @@ photos_operation_insta_hefe_attach (GeglOperation *operation)
 
   gegl_node_connect_to (self->vignette, "output", multiply, "aux");
   gegl_node_link_many (self->input, multiply, curve, self->output, NULL);
-
-  gegl_operation_meta_watch_nodes (operation, curve, multiply, self->vignette, NULL);
 }
 
 


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