mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
Merge branch 'codegen-interface-info-fix' into 'master'
codegen: Fix use of uninitialised variable See merge request GNOME/glib!721
This commit is contained in:
commit
7f38dfcb6c
@ -826,7 +826,7 @@ class InterfaceInfoBodyCodeGenerator:
|
||||
self.outfile.write('};\n')
|
||||
self.outfile.write('\n')
|
||||
|
||||
key = (m.since, '%s_interface__%s_signal' % (i.name_lower, s.name_lower))
|
||||
key = (s.since, '%s_interface__%s_signal' % (i.name_lower, s.name_lower))
|
||||
signal_pointers.append(key)
|
||||
|
||||
self.generate_array('%s_interface_signals' % i.name_lower,
|
||||
@ -861,7 +861,7 @@ class InterfaceInfoBodyCodeGenerator:
|
||||
self.outfile.write('};\n')
|
||||
self.outfile.write('\n')
|
||||
|
||||
key = (m.since, '%s_interface__%s_property' % (i.name_lower, p.name_lower))
|
||||
key = (p.since, '%s_interface__%s_property' % (i.name_lower, p.name_lower))
|
||||
property_pointers.append(key)
|
||||
|
||||
self.generate_array('%s_interface_properties' % i.name_lower,
|
||||
|
Loading…
Reference in New Issue
Block a user