]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Fix various compile time warnings
authorFlorian Brosch <flo.brosch@gmail.com>
Mon, 11 Jul 2011 13:29:07 +0000 (15:29 +0200)
committerFlorian Brosch <flo.brosch@gmail.com>
Fri, 29 Jul 2011 00:45:25 +0000 (02:45 +0200)
src/libvaladoc/parser/rule.vala

index b63495c492f94eab7865c782bd009632164763f6..76cffc2365d7381682a16bc72d1946135dce300c 100644 (file)
@@ -66,17 +66,20 @@ public abstract class Valadoc.Rule : Object {
        public delegate void Action () throws ParserError;
 
        public Rule set_start (Action action) {
-               _start_action = action;
+               //TODO: Ownership Transfer
+               _start_action = () => { action (); };
                return this;
        }
 
        public Rule set_reduce (Action action) {
-               _reduce_action = action;
+               //TODO: Ownership Transfer
+               _reduce_action = () => { action (); };
                return this;
        }
 
        public Rule set_skip (Action action) {
-               _skip_action = action;
+               //TODO: Ownership Transfer
+               _skip_action = () => { action (); };
                return this;
        }