summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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