diff options
author | Emmanuele Bassi <ebassi@openedhand.com> | 2007-11-22 15:59:25 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@openedhand.com> | 2007-11-22 15:59:25 +0000 |
commit | ea6cc8756f70d488eae128e4a01f63ce2766cc3a (patch) | |
tree | c2dc825cf468b543d4b2fc97f2f3fcff85904d85 | |
parent | 9492f3439dd491bb5afadfe6b2bd49a72ec9bb1e (diff) | |
download | json-glib-ea6cc8756f70d488eae128e4a01f63ce2766cc3a.tar.gz |
Omit the lenght argument now that we provide a default
-rw-r--r-- | contrib/json-test.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/json-test.vala b/contrib/json-test.vala index bdc9a2f..872713f 100644 --- a/contrib/json-test.vala +++ b/contrib/json-test.vala @@ -44,7 +44,7 @@ public class Sample : GLib.Object { stdout.printf ("parsing complete\n"); }; - try { parser.load_from_data (buffer, -1); } + try { parser.load_from_data (buffer); } catch (Json.ParserError e) { stdout.printf ("%s\n", e.message); return; |