mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
gdbus-codegen: Single letter namespaces get dropped from symbol names
https://bugzilla.gnome.org/show_bug.cgi?id=659082 Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
parent
e34e8a25a0
commit
c6c2c10946
@ -37,7 +37,7 @@ class CodeGenerator:
|
||||
self.h = h
|
||||
self.c = c
|
||||
self.namespace = namespace
|
||||
if len(namespace) > 1:
|
||||
if len(namespace) > 0:
|
||||
self.ns_upper = utils.camel_case_to_uscore(namespace).upper() + '_'
|
||||
self.ns_lower = utils.camel_case_to_uscore(namespace).lower() + '_'
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user