From d8e7405eb35974518b0b579e2e2789fd065cb477 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 8 Jul 2005 17:02:42 +0000 Subject: Make async bindings work again --- dbus/dbus-glib.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'dbus') diff --git a/dbus/dbus-glib.h b/dbus/dbus-glib.h index 4b3672c2..ad156b83 100644 --- a/dbus/dbus-glib.h +++ b/dbus/dbus-glib.h @@ -280,11 +280,14 @@ void dbus_g_method_return (DBusGMethodInvocation *con void dbus_g_method_return_error (DBusGMethodInvocation *context, GError *error); +/* Probably possible to replace this with a closure */ +typedef struct { + GCallback cb; + gpointer userdata; +} DBusGAsyncData; + #undef DBUS_INSIDE_DBUS_GLIB_H G_END_DECLS #endif /* DBUS_GLIB_H */ - - - -- cgit