From: Rico Tzschichholz Date: Thu, 23 Nov 2017 17:56:22 +0000 (+0100) Subject: Don't use camel-cased symbol names X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77b6622abb693d521e2aa63c39d13205bca9ec71;p=thirdparty%2Fvala.git Don't use camel-cased symbol names --- diff --git a/dbusgen/valadbusparser.vala b/dbusgen/valadbusparser.vala index 3b0ddef3b..e63c01f28 100644 --- a/dbusgen/valadbusparser.vala +++ b/dbusgen/valadbusparser.vala @@ -240,6 +240,7 @@ public class Vala.DBusParser : CodeVisitor { DataType return_type = new VoidType (); + name = Vala.Symbol.camel_case_to_lower_case (name); current_node = current_method = new Method (name, return_type, src); current_iface.add_method ((Method)current_method); ((Method)current_method).is_abstract = true; @@ -281,6 +282,7 @@ public class Vala.DBusParser : CodeVisitor { set_access = new PropertyAccessor (false, true, false, date_type, null, get_current_src ()); } + name = Vala.Symbol.camel_case_to_lower_case (name); current_node = current_property = new Property (name, date_type, get_access, set_access, get_current_src ()); current_property.is_abstract = true; current_property.access = SymbolAccessibility.PUBLIC; @@ -384,6 +386,7 @@ public class Vala.DBusParser : CodeVisitor { return; } + name = Vala.Symbol.camel_case_to_lower_case (name); current_node = current_method = new Signal (name, new VoidType ()); current_iface.add_signal ((Signal)current_node); ((Signal)current_node).access = SymbolAccessibility.PUBLIC;