OSDN Git Service

docs: fix an example
authorDan Winship <danw@gnome.org>
Sat, 16 Jun 2012 14:38:45 +0000 (10:38 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 14 Jul 2012 20:33:12 +0000 (16:33 -0400)
docs/reference/gio/gdbus-codegen.xml

index df5875f..73a5d3f 100644 (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));