DBusConnection -> DBusGConnection woes

Havoc Pennington hp at redhat.com
Tue Mar 13 09:06:45 PDT 2007


Ross Burton wrote:
> On Tue, 2007-03-13 at 10:49 -0400, Havoc Pennington wrote:
>> Ross Burton wrote:
>>> Is there a sane way to handle this?  There is
>>> dbus_g_connection_get_connection()() but no way of going the other way.
>>>
>> I think no; the ultimate goal was to have dbus-glib bindings for the 
>> DBusServer stuff iirc, but that has never been done.
> 
> What would the bindings look like?  The DBusServer API is pretty simple
> already, and dbus_server_setup_with_g_main() exists to hook it into a
> glib main loop.
> 

I didn't have anything specific in mind, maybe just a simple wrapper to 
avoid #include'ing the non-glib dbus.h header. But you could imagine 
going a bit further and adding some more convenient api for creating a 
custom server.

Havoc



More information about the dbus mailing list