diff options
author | Ross Burton <ross@openedhand.com> | 2005-07-08 17:02:42 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2005-07-08 17:02:42 +0000 |
commit | d8e7405eb35974518b0b579e2e2789fd065cb477 (patch) | |
tree | 13130d88c38fb489b3a20ce07d665afa7d19e0f0 /dbus | |
parent | 82d6ea6ca62b98294b76977cdd2a131b62edd068 (diff) |
Make async bindings work again
Diffstat (limited to 'dbus')
-rw-r--r-- | dbus/dbus-glib.h | 9 |
1 files changed, 6 insertions, 3 deletions
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 */ - - - |