summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-28 14:55:08 +0200
committerrbuj <[email protected]>2021-10-28 14:55:08 +0200
commitea2e21715840683dd23caf8e45b39eeea45252ff (patch)
tree3d0e4c03a5979bb2312ae766b721ce4e6dbd4f52
parent85909393571d91b3c267afe5341e54bfae5a6d50 (diff)
downloadengrampa-missing-field-initializers.tar.bz2
engrampa-missing-field-initializers.tar.xz
Fix build warnings about missing field initializermissing-field-initializers
-rw-r--r--src/main.c2
-rw-r--r--src/server.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 292f4b1..09ad822 100644
--- a/src/main.c
+++ b/src/main.c
@@ -89,7 +89,7 @@ static const GOptionEntry options[] = {
NULL,
NULL },
- { NULL }
+ { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL }
};
static void
diff --git a/src/server.c b/src/server.c
index 1ca6c4e..660abd4 100644
--- a/src/server.c
+++ b/src/server.c
@@ -389,7 +389,8 @@ handle_method_call (GDBusConnection *connection,
static const GDBusInterfaceVTable interface_vtable = {
handle_method_call,
NULL, /* handle_get_property */
- NULL /* handle_set_property */
+ NULL, /* handle_set_property */
+ { 0 }
};