diff options
author | Havoc Pennington <hp@redhat.com> | 2005-01-30 23:06:32 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2005-01-30 23:06:32 +0000 |
commit | 1dcacffc325e50754d4cc3338822d1f03c8b6e45 (patch) | |
tree | 2e41d02141bf61be249ee6a9f8df6bd891a7d1e1 /dbus/dbus-pending-call.c | |
parent | 4d985d98906577e3344fc1107d341b8ac969db1e (diff) |
2005-01-30 Havoc Pennington <hp@redhat.com>
* 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
Diffstat (limited to 'dbus/dbus-pending-call.c')
-rw-r--r-- | dbus/dbus-pending-call.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dbus/dbus-pending-call.c b/dbus/dbus-pending-call.c index d0403b03..b69f7c3e 100644 --- a/dbus/dbus-pending-call.c +++ b/dbus/dbus-pending-call.c @@ -227,11 +227,11 @@ dbus_pending_call_set_notify (DBusPendingCall *pending, } /** - * Cancels the pending call, such that any reply - * or error received will just be ignored. - * Drops at least one reference to the #DBusPendingCall - * so will free the call if nobody else is holding - * a reference. + * Cancels the pending call, such that any reply or error received + * will just be ignored. Drops the dbus library's internal reference + * to the #DBusPendingCall so will free the call if nobody else is + * holding a reference. However you usually get a reference + * from dbus_connection_send() so probably your app owns a ref also. * * @param pending the pending call */ |