projects
/
cinaest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
183a9b4
)
Google plugin: remove weak attribute from parse_tag_attribute result
author
Philipp Zabel
<philipp.zabel@gmail.com>
Tue, 17 Nov 2009 14:32:16 +0000
(15:32 +0100)
committer
Philipp Zabel
<philipp.zabel@gmail.com>
Tue, 17 Nov 2009 21:32:46 +0000
(22:32 +0100)
src/plugins/google-parser.vala
patch
|
blob
|
history
diff --git
a/src/plugins/google-parser.vala
b/src/plugins/google-parser.vala
index
2bf3ef2
..
3eadbcc
100644
(file)
--- 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");
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");
rating = rating_string.to_double ();
expect_tag ("img");
expect_tag ("img");