DBus GObject & g_object_unref
Havoc Pennington
hp at redhat.com
Mon Jul 31 11:08:34 PDT 2006
Not sure I understand what you expect vs. what you are seeing, but
unref'ing an proxy will not make the remote application exit... if you
just want to be notified when the proxy is finalized, then use the
normal gobject features (g_object_set_data, g_object_weak_notify(?))
If you want the remote app to exit, you have to do that in some custom
way, e.g. by having it include an Exit method. Or for example if you
want a "single instance" app, you can have each instance exit if it
loses ownership of a bus name, and allow one instance to take over the
bus name from an existing instance.
Havoc
More information about the dbus
mailing list