mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Fix several missing initializer warnings in gio/tests/gdbus-example-subtree.c
gio/tests/gdbus-example-subtree.c:76:1: error: missing initializer for field ‘padding’ of ‘GDBusInterfaceVTable’ {aka ‘const struct _GDBusInterfaceVTable’} 76 | }; | ^ gio/tests/gdbus-example-subtree.c:190:1: error: missing initializer for field ‘padding’ of ‘GDBusInterfaceVTable’ {aka ‘const struct _GDBusInterfaceVTable’} 190 | }; | ^ gio/tests/gdbus-example-subtree.c:228:1: error: missing initializer for field ‘get_property’ of ‘GDBusInterfaceVTable’ {aka ‘const struct _GDBusInterfaceVTable’} 228 | }; | ^ gio/tests/gdbus-example-subtree.c:325:1: error: missing initializer for field ‘padding’ of ‘GDBusSubtreeVTable’ {aka ‘const struct _GDBusSubtreeVTable’} 325 | }; | ^
This commit is contained in:
parent
cb0b4b00df
commit
bac08a4b26
@ -72,7 +72,8 @@ const GDBusInterfaceVTable manager_vtable =
|
|||||||
{
|
{
|
||||||
manager_method_call,
|
manager_method_call,
|
||||||
NULL, /* get_property */
|
NULL, /* get_property */
|
||||||
NULL /* set_property */
|
NULL, /* set_property */
|
||||||
|
{ 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------------------------------------- */
|
/* ---------------------------------------------------------------------------------------------------- */
|
||||||
@ -187,6 +188,7 @@ const GDBusInterfaceVTable block_vtable =
|
|||||||
block_method_call,
|
block_method_call,
|
||||||
block_get_property,
|
block_get_property,
|
||||||
block_set_property,
|
block_set_property,
|
||||||
|
{ 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------------------------------------- */
|
/* ---------------------------------------------------------------------------------------------------- */
|
||||||
@ -223,8 +225,9 @@ partition_method_call (GDBusConnection *connection,
|
|||||||
const GDBusInterfaceVTable partition_vtable =
|
const GDBusInterfaceVTable partition_vtable =
|
||||||
{
|
{
|
||||||
partition_method_call,
|
partition_method_call,
|
||||||
//partition_get_property,
|
NULL,
|
||||||
//partition_set_property
|
NULL,
|
||||||
|
{ 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------------------------------------- */
|
/* ---------------------------------------------------------------------------------------------------- */
|
||||||
@ -321,7 +324,8 @@ const GDBusSubtreeVTable subtree_vtable =
|
|||||||
{
|
{
|
||||||
subtree_enumerate,
|
subtree_enumerate,
|
||||||
subtree_introspect,
|
subtree_introspect,
|
||||||
subtree_dispatch
|
subtree_dispatch,
|
||||||
|
{ 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------------------------------------- */
|
/* ---------------------------------------------------------------------------------------------------- */
|
||||||
|
Loading…
Reference in New Issue
Block a user