From: Philipp Zabel Date: Tue, 17 Nov 2009 14:32:16 +0000 (+0100) Subject: Google plugin: remove weak attribute from parse_tag_attribute result X-Git-Tag: v0.0.5~19 X-Git-Url: http://vcs.maemo.org/git/?a=commitdiff_plain;h=f3918b927f687a41e64333e0114b5e5f6c0ceb8b;p=cinaest Google plugin: remove weak attribute from parse_tag_attribute result --- diff --git a/src/plugins/google-parser.vala b/src/plugins/google-parser.vala index 2bf3ef2..3eadbcc 100644 --- a/src/plugins/google-parser.vala +++ b/src/plugins/google-parser.vala @@ -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");