GDBus: Use G_DBUS_METHOD_INVOCATION_HANDLED in method implementations

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie
2020-08-03 16:08:55 +01:00
committed by Philip Withnall
parent d65c8c30a9
commit 38a2aed5f0
3 changed files with 23 additions and 18 deletions

View File

@@ -53,7 +53,7 @@ on_animal_poke (ExampleAnimal *animal,
g_assert_not_reached ();
out:
return TRUE; /* to indicate that the method was handled */
return G_DBUS_METHOD_INVOCATION_HANDLED;
}