dbus glib main loop integration
mgorse at novell.com
Mon Nov 15 14:27:58 PST 2010
We have code in dbus-glib to set up a dbus connection with a GLib main
loop, but dbus-glib is being deprecated in favor of gdbus. So what to do
with the dbus_*_setup_with_g_main functions? I think that our options are
1) Just leave the functions as part of dbus-glib.
2) Add a library in the dbus module with these functions, and build it if
glib is present and if it is enabled when running configure.
3) Add a new module on freedesktop.org (called something like dbus-gmain).
I filed a bug (http://bugs.freedesktop.org/show_bug.cgi?id=31515) with a
patch for option 2, per some irc discussion, although Thego commented
suggesting that he would prefer option 3.
Does anyone else have an opinion on what should be done? I don't really
have a preference other than wanting the functions to continue to be
available for code using libdbus.
More information about the dbus