docs: fix an example

This commit is contained in:
Dan Winship
2012-06-16 10:38:45 -04:00
committed by Matthias Clasen
parent f03dbdc365
commit 7934d64837

View File

@@ -697,7 +697,8 @@ on_handle_hello_world (MyAppFrobber *interface,
}
else
{
g_dbus_method_invocation_return_error (MY_APP_ERROR,
g_dbus_method_invocation_return_error (invocation,
MY_APP_ERROR,
MY_APP_ERROR_NO_WHINING,
"Hey, %s, there will be no whining!",
g_dbus_method_invocation_get_sender (invocation));