mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 23:46:17 +01:00
glib-mkenums: Fix typos in a message and a comment
Signed-off-by: Philip Withnall <withnall@endlessm.com> Reviewed-by: nobody
This commit is contained in:
parent
523c62aaa6
commit
0a42a7cb74
@ -99,7 +99,7 @@ codecs.register_error('replace_and_warn', replace_and_warn)
|
|||||||
# glib-mkenums.py
|
# glib-mkenums.py
|
||||||
# Information about the current enumeration
|
# Information about the current enumeration
|
||||||
flags = None # Is enumeration a bitmask?
|
flags = None # Is enumeration a bitmask?
|
||||||
option_underscore_name = '' # Overriden underscore variant of the enum name
|
option_underscore_name = '' # Overridden underscore variant of the enum name
|
||||||
# for example to fix the cases we don't get the
|
# for example to fix the cases we don't get the
|
||||||
# mixed-case -> underscorized transform right.
|
# mixed-case -> underscorized transform right.
|
||||||
option_lowercase_name = '' # DEPRECATED. A lower case name to use as part
|
option_lowercase_name = '' # DEPRECATED. A lower case name to use as part
|
||||||
@ -486,7 +486,7 @@ def process_file(curfilename):
|
|||||||
|
|
||||||
if option_lowercase_name is not None:
|
if option_lowercase_name is not None:
|
||||||
if option_underscore_name is not None:
|
if option_underscore_name is not None:
|
||||||
print_warning("lowercase_name overriden with underscore_name")
|
print_warning("lowercase_name overridden with underscore_name")
|
||||||
option_lowercase_name = None
|
option_lowercase_name = None
|
||||||
else:
|
else:
|
||||||
print_warning("lowercase_name is deprecated, use underscore_name")
|
print_warning("lowercase_name is deprecated, use underscore_name")
|
||||||
|
Loading…
Reference in New Issue
Block a user