[gegl] GeglNode: Emit invalidated only after setting the passthrough



commit f21603fe63028dbf6ba84aee4cda6ac86118d8da
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Jan 19 12:00:00 2017 +0100

    GeglNode: Emit invalidated only after setting the passthrough
    
    https://bugzilla.gnome.org/show_bug.cgi?id=777487

 gegl/graph/gegl-node.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gegl/graph/gegl-node.c b/gegl/graph/gegl-node.c
index 0adf869..87d4cc5 100644
--- a/gegl/graph/gegl-node.c
+++ b/gegl/graph/gegl-node.c
@@ -2177,8 +2177,8 @@ gegl_node_set_passthrough (GeglNode *node,
   if (node->passthrough == passthrough)
     return;
 
-  gegl_node_invalidated (node, NULL, TRUE);
   node->passthrough = passthrough;
+  gegl_node_invalidated (node, NULL, TRUE);
 }
 
 typedef struct Closure {


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