Google parser: use unowned string instead of weak string
authorPhilipp Zabel <philipp.zabel@gmail.com>
Thu, 8 Jul 2010 19:46:39 +0000 (21:46 +0200)
committerPhilipp Zabel <philipp.zabel@gmail.com>
Wed, 14 Jul 2010 21:34:09 +0000 (23:34 +0200)
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 ());