summaryrefslogtreecommitdiffstats
path: root/dbus
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2005-06-14 15:52:41 +0000
committerColin Walters <walters@verbum.org>2005-06-14 15:52:41 +0000
commitf5c4d6b55cdc73c2aaa6a19d96be573d6f521590 (patch)
tree962aaabe25dcd30510477496bb8ccf76223b0cd4 /dbus
parentcdda4e453b798af2f053a9f6151bf1b7799e7235 (diff)
2005-06-14 Ross Burton <ross@burtonini.com>.
* 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.
Diffstat (limited to 'dbus')
-rw-r--r--dbus/dbus-glib.h16
1 files changed, 6 insertions, 10 deletions
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