[glib: 7/9] Fix missing initializer warning in gio/tests/gdbus-example-export.c
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 7/9] Fix missing initializer warning in gio/tests/gdbus-example-export.c
- Date: Thu, 15 Apr 2021 09:22:18 +0000 (UTC)
commit 1c084ca71719e6553127de42926f4a0575f94e5f
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date: Fri Nov 20 19:26:51 2020 +0100
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 | };
| ^
gio/tests/gdbus-example-export.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]