dbus-glib bindings
Havoc Pennington
hp@redhat.com
Sun, 22 Feb 2004 11:32:03 -0500
On Fri, 2004-02-20 at 18:15, Daniel Silverstone wrote:
>
> Unfortunately now I can't get the blasted thing to reconnect. What I've
> been doing is trying to do
>
> dbus_connection_unref(connection); when it allegedly dies, but of course
> the glib binding has references to it etc.
>
> Is there a function I can call to persuade the extant DBusConnection to
> reconnect?
You can't reconnect the same DBusConnection object, you have to call
dbus_bus_get() or dbus_connection_open() again to create a new one.
Havoc