diff options
Diffstat (limited to 'dbus')
-rw-r--r-- | dbus/dbus-glib.h | 16 |
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 |