summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-28 14:55:08 +0200
committerraveit65 <[email protected]>2022-01-29 14:54:14 +0100
commitfa0265b4dee95f2ccc7a279fc1dedc27909929ab (patch)
tree53e28936680fd4507600840135f0615cd182408a
parent3664a2d2a6d2f18aaeadd355f2ae0bbf91b8a9c1 (diff)
downloadengrampa-fa0265b4dee95f2ccc7a279fc1dedc27909929ab.tar.bz2
engrampa-fa0265b4dee95f2ccc7a279fc1dedc27909929ab.tar.xz
Fix build warnings about missing field initializer
-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 cff302d..a474244 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 43c1e39..24491b2 100644
--- a/src/server.c
+++ b/src/server.c
@@ -383,7 +383,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 }
};
static void