[gegl] GeglNode: Relay the computed signal from the output proxy to the graph



commit b6019e8863e9d401104545669913768089353494
Author: Debarshi Ray <debarshir gnome org>
Date:   Sun Jun 14 19:07:27 2015 +0200

    GeglNode: Relay the computed signal from the output proxy to the graph
    
    https://bugzilla.gnome.org/show_bug.cgi?id=750938

 gegl/graph/gegl-node.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gegl/graph/gegl-node.c b/gegl/graph/gegl-node.c
index 53500b4..0740aa9 100644
--- a/gegl/graph/gegl-node.c
+++ b/gegl/graph/gegl-node.c
@@ -2114,6 +2114,8 @@ gegl_node_get_pad_proxy (GeglNode    *node,
 
       if (!is_graph_input)
         {
+          g_signal_connect_swapped (G_OBJECT (nop), "computed",
+                                    G_CALLBACK (gegl_node_emit_computed), node);
           g_signal_connect (G_OBJECT (nop), "invalidated",
                             G_CALLBACK (graph_source_invalidated), node);
         }


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