GNOME Bugzilla – Bug 764795
Short circuit gegl_node_set_passthrough if the value is same
Last modified: 2016-04-18 13:36:30 UTC
Calling gegl_node_set_passthrough with the same argument as node->priv->passthrough shouldn't needless invalidate the GeglNode. Would be nice if we were smart about this instead of expecting applications to be more careful.
Created attachment 325596 [details] [review] GeglNode: Short circuit gegl_node_set_passthrough if the value is same
From #gegl on GIMPNet: 13:21 <rishi> Do you think https://bugzilla.gnome.org/show_bug.cgi?id=764795 and https://bugzilla.gnome.org/show_bug.cgi?id=764797 are OK to push? 13:21 <rishi> The test suite passes. 13:22 <rishi> I keep asking because a gnome-photos patch series needs them. See the "blocks field. 13:28 <pippin> rishi: just push :) 13:29 <rishi> pippin: Ok. Pushing.
commit c40abe78e8c5501e03afd4d4b50285f92cc2f574 Author: Debarshi Ray <debarshir@gnome.org> Date: Fri Apr 8 17:05:10 2016 +0200 GeglNode: Short circuit gegl_node_set_passthrough if the value is same https://bugzilla.gnome.org/show_bug.cgi?id=764795