mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
Init padding to NULL to avoid a missing initializer warning
like sessionmanager-presence-generated.c:920:1: warning: missing initializer [-Wmissing-field-initializers] sessionmanager-presence-generated.c:920:1: warning: (near initialization for ‘_org_gnome_session_manager_presence_skeleton_vtable.padding’) [-Wmissing-field-initializers] https://bugzilla.gnome.org/review?bug=696108
This commit is contained in:
parent
82f29a0204
commit
beae47d838
@ -2221,7 +2221,8 @@ class CodeGenerator:
|
||||
'{\n'
|
||||
' _%s_skeleton_handle_method_call,\n'
|
||||
' _%s_skeleton_handle_get_property,\n'
|
||||
' _%s_skeleton_handle_set_property\n'
|
||||
' _%s_skeleton_handle_set_property,\n'
|
||||
' {NULL}\n'
|
||||
'};\n'
|
||||
'\n'%(i.name_lower, i.name_lower, i.name_lower, i.name_lower))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user