[vala] Fix recent syntax errors with older valac
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] Fix recent syntax errors with older valac
- Date: Wed, 3 Dec 2014 15:11:01 +0000 (UTC)
commit 3af92929decf27eb045ff229082abe4e6c4b82a8
Author: Luca Bruno <lucabru src gnome org>
Date: Wed Dec 3 16:10:37 2014 +0100
Fix recent syntax errors with older valac
vala/valausedattr.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vala/valausedattr.vala b/vala/valausedattr.vala
index ecd4c06..e5e2238 100644
--- a/vala/valausedattr.vala
+++ b/vala/valausedattr.vala
@@ -29,7 +29,7 @@ using GLib;
public class Vala.UsedAttr : CodeVisitor {
public Vala.Map<string,Vala.Set<string>> marked = new HashMap<string,Vala.Set<string>> (str_hash,
str_equal);
- const string valac_default_attrs[] = {
+ const string[] valac_default_attrs = {
"CCode", "type_signature", "default_value", "set_value_function", "type_id", "cprefix",
"cheader_filename",
"marshaller_type_name", "get_value_function", "cname", "cheader_filename",
"destroy_function", "lvalue_access",
"has_type_id", "instance_pos", "const_cname", "take_value_function", "copy_function",
"free_function",
@@ -55,7 +55,7 @@ public class Vala.UsedAttr : CodeVisitor {
"SimpleType", "",
"PrintfFormat", "",
- "GIR", "name", "",
+ "GIR", "name", ""
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]