]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libvaladoc: Avoid superfluous references of Rule 85d3dffc0e8dfaf6549a730be918aece7afff951
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 12 Jun 2018 10:26:31 +0000 (12:26 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 12 Jun 2018 16:19:46 +0000 (18:19 +0200)
libvaladoc/parser/rule.vala

index 88be423c753eb599965c0ad6022ce730892ab515..410eef14b47b0e087f3f7501ce9018484368e1fa 100644 (file)
@@ -64,19 +64,19 @@ public abstract class Valadoc.Rule : Object {
 
        public delegate void Action () throws ParserError;
 
-       public Rule set_start (Action action) {
+       public unowned Rule set_start (Action action) {
                //TODO: Ownership Transfer
                _start_action = () => { action (); };
                return this;
        }
 
-       public Rule set_reduce (Action action) {
+       public unowned Rule set_reduce (Action action) {
                //TODO: Ownership Transfer
                _reduce_action = () => { action (); };
                return this;
        }
 
-       public Rule set_skip (Action action) {
+       public unowned Rule set_skip (Action action) {
                //TODO: Ownership Transfer
                _skip_action = () => { action (); };
                return this;