From f5c4d6b55cdc73c2aaa6a19d96be573d6f521590 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 14 Jun 2005 15:52:41 +0000 Subject: 2005-06-14 Ross Burton . * glib/dbus-glib.h: Make DBusGMethodInvocation a private structure. Rearrange prototypes a bit. * glib/dbus-gproxy.c (dbus_g_proxy_invoke): Add documentation for first_arg_type. * glib/dbus-gobject.c: Move DBusGMethodInvocation here, add documentation. Move dbus_g_method_return and dbus_g_method_return_error into public API section. --- dbus/dbus-glib.h | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'dbus') diff --git a/dbus/dbus-glib.h b/dbus/dbus-glib.h index 7921c917..80ed7f4f 100644 --- a/dbus/dbus-glib.h +++ b/dbus/dbus-glib.h @@ -267,22 +267,18 @@ gboolean dbus_g_proxy_invoke (DBusGProxy *proxy, GType first_arg_type, ...); +typedef struct DBusGMethodInvocation DBusGMethodInvocation; + +void dbus_g_method_return (DBusGMethodInvocation *context, ...); + +void dbus_g_method_return_error (DBusGMethodInvocation *context, GError *error); + typedef struct { DBusGProxy *proxy; gpointer cb; gpointer userdata; } DBusGAsyncData; -typedef struct { - DBusGConnection *connection; - DBusGMessage *message; - const DBusGObjectInfo *object; - const DBusGMethodInfo *method; -} DBusGMethodInvocation; - -void dbus_g_method_return (DBusGMethodInvocation *context, ...); -void dbus_g_method_return_error (DBusGMethodInvocation *context, GError *error); - #undef DBUS_INSIDE_DBUS_GLIB_H G_END_DECLS -- cgit