From: Rico Tzschichholz Date: Wed, 13 Jun 2018 13:20:14 +0000 (+0200) Subject: Revert "libvaladoc: Avoid superfluous references of Rule" X-Git-Tag: 0.41.90~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=981067135665b69bf72248bd1dd3dc108d866652;p=thirdparty%2Fvala.git Revert "libvaladoc: Avoid superfluous references of Rule" This reverts commit 85d3dffc0e8dfaf6549a730be918aece7afff951. --- diff --git a/libvaladoc/parser/rule.vala b/libvaladoc/parser/rule.vala index 410eef14b..88be423c7 100644 --- a/libvaladoc/parser/rule.vala +++ b/libvaladoc/parser/rule.vala @@ -64,19 +64,19 @@ public abstract class Valadoc.Rule : Object { public delegate void Action () throws ParserError; - public unowned Rule set_start (Action action) { + public Rule set_start (Action action) { //TODO: Ownership Transfer _start_action = () => { action (); }; return this; } - public unowned Rule set_reduce (Action action) { + public Rule set_reduce (Action action) { //TODO: Ownership Transfer _reduce_action = () => { action (); }; return this; } - public unowned Rule set_skip (Action action) { + public Rule set_skip (Action action) { //TODO: Ownership Transfer _skip_action = () => { action (); }; return this;