[glib] docs: fix an example



commit a1da843cb48de1ef080c20b1c8ebc9bc88688ce6
Author: Dan Winship <danw gnome org>
Date:   Sat Jun 16 10:38:45 2012 -0400

    docs: fix an example

 docs/reference/gio/gdbus-codegen.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/docs/reference/gio/gdbus-codegen.xml b/docs/reference/gio/gdbus-codegen.xml
index df5875f..73a5d3f 100644
--- a/docs/reference/gio/gdbus-codegen.xml
+++ b/docs/reference/gio/gdbus-codegen.xml
@@ -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));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]