From 1dcacffc325e50754d4cc3338822d1f03c8b6e45 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sun, 30 Jan 2005 23:06:32 +0000 Subject: 2005-01-30 Havoc Pennington * glib/dbus-glib.c (dbus_g_pending_call_set_notify): new function (dbus_g_pending_call_cancel): new function * dbus/dbus-glib.h: move GType decls for connection/message here; * dbus/dbus-glib.c: move all the g_type and ref/unref stuff in here, just kind of rationalizing how we handle all that * tools/dbus-names-model.c: new file for a tree model listing the services on a bus * tools/dbus-tree-view.c (model_new): use proper typing on the model rows --- doc/TODO | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'doc') diff --git a/doc/TODO b/doc/TODO index 49b00779..0590bb4e 100644 --- a/doc/TODO +++ b/doc/TODO @@ -51,16 +51,9 @@ Important for 1.0 GLib Bindings - finish dbus-glib-tool support for adding introspection data to GObject and autoexporting GObject using same - - the GLib bindings varargs take DBUS_TYPE_WHATEVER and - return stuff allocated with dbus_malloc(); should this - be made more "G" at some expense in code duplication? - You also still have to use some D-BUS functions such as - dbus_message_get_args() which takes a DBusError. - Probably we need to either fully encapsulate and hide - dbus/dbus.h, or encapsulate it slightly less e.g. no - GError. Or maybe it's as simple as "never return dbus_malloc() - memory" and just fully encapsulate the get_args() type of - stuff. + - Need to make sure that dbus-glib.h never returns any + dbus_malloc() memory, only g_malloc(). + dbus_g_proxy_end_call() is the major offender. - dbus_gproxy_connect_signal() has to take a signature for the signal so it can figure out how to invoke the callback, or we have to rely -- cgit