Google plugin: remove weak attribute from parse_tag_attribute result
authorPhilipp Zabel <philipp.zabel@gmail.com>
Tue, 17 Nov 2009 14:32:16 +0000 (15:32 +0100)
committerPhilipp Zabel <philipp.zabel@gmail.com>
Tue, 17 Nov 2009 21:32:46 +0000 (22:32 +0100)
src/plugins/google-parser.vala

index 2bf3ef2..3eadbcc 100644 (file)
@@ -155,7 +155,7 @@ public class GoogleParser : Object {
                double rating = 0.0;
                if (parse_tag () == "nobr") {
                        expect_tag ("nobr");
-                       weak string rating_string = parse_tag_attribute ("img", "alt").offset (6); // "Rated " ->"0.0 out of 5.0"
+                       string rating_string = parse_tag_attribute ("img", "alt").offset (6); // "Rated " ->"0.0 out of 5.0"
                        rating = rating_string.to_double ();
                        expect_tag ("img");
                        expect_tag ("img");