summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Fleury <emmanuel.fleury@gmail.com>2020-11-20 19:26:51 +0100
committerEmmanuel Fleury <emmanuel.fleury@gmail.com>2021-04-15 10:19:29 +0200
commit1c084ca71719e6553127de42926f4a0575f94e5f (patch)
tree50f33e8adba8b770123360927fa9edf2071583c6
parent4d52358fe262d555e8bb70dc2a83c0ff190c39bf (diff)
downloadglib-1c084ca71719e6553127de42926f4a0575f94e5f.tar.gz
Fix missing initializer warning in gio/tests/gdbus-example-export.c
gio/tests/gdbus-example-export.c:229:1: error: missing initializer for field ‘padding’ of ‘GDBusInterfaceVTable’ {aka ‘const struct _GDBusInterfaceVTable’} 229 | }; | ^
-rw-r--r--gio/tests/gdbus-example-export.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gio/tests/gdbus-example-export.c b/gio/tests/gdbus-example-export.c
index f712d88f0..182305068 100644
--- a/gio/tests/gdbus-example-export.c
+++ b/gio/tests/gdbus-example-export.c
@@ -225,7 +225,8 @@ static const GDBusInterfaceVTable interface_vtable =
{
handle_method_call,
handle_get_property,
- handle_set_property
+ handle_set_property,
+ { 0 }
};
static void