Google parser: use unowned string instead of weak string
[cinaest] / src / backends / google / google-parser.vala
index 87c7676..e18a00b 100644 (file)
@@ -69,8 +69,8 @@ public class GoogleParser : Object {
                        current++;
        }
 
-       public weak string parse_tag (bool finish = true) throws Error {
-               weak string tag;
+       public unowned string parse_tag (bool finish = true) throws Error {
+               unowned string tag;
                next_tag ();
                int i = 1;
                while (current[++i].isalnum ());