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:
Guido Günther 2013-03-23 12:41:15 +01:00
parent 82f29a0204
commit beae47d838

View File

@ -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))