]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Revert "libvaladoc: Avoid superfluous references of Rule"
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 13 Jun 2018 13:20:14 +0000 (15:20 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 13 Jun 2018 13:20:14 +0000 (15:20 +0200)
This reverts commit 85d3dffc0e8dfaf6549a730be918aece7afff951.

libvaladoc/parser/rule.vala

index 410eef14b47b0e087f3f7501ce9018484368e1fa..88be423c753eb599965c0ad6022ce730892ab515 100644 (file)
@@ -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;