After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 622878 - Migrate from dbus-glib to glib's GDBus
Migrate from dbus-glib to glib's GDBus
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: general
3.3.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on: 658352
Blocks: 622871
 
 
Reported: 2010-06-27 10:32 UTC by André Klapper
Modified: 2012-01-19 22:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description André Klapper 2010-06-27 10:32:29 UTC
For GLib 2.25.5 GDBus D-Bus support was merged, providing an API to replace dbus-glib.

See http://library.gnome.org/devel/gio/unstable/gdbus.html and http://library.gnome.org/devel/gio/unstable/ch28.html .

According to a quick grep this module seems to use dbus-glib:

./gnome-settings-daemon/configure.ac:        dbus-glib-1 >= $DBUS_GLIB_REQUIRED_VERSION
Comment 1 Bastien Nocera 2010-11-17 13:44:04 UTC
All the server parts of gnome-settings-daemon now use GDBus[1]. There's still quite a few locations that do use dbus-glib though, but as clients.

[1]: I ported 2 users, and it turns out you can't share a well-known name using dbus-glib and GDBus in the same program, so it broke some of the interfaces that were there (like XRandR).
Comment 2 Bastien Nocera 2011-11-14 18:55:37 UTC
Will remove the last user (date & time mechanism) as soon as gnome-control-center uses the systemd mechanism.
Comment 3 Bastien Nocera 2012-01-19 22:39:48 UTC
commit 27fa171efe4179c0a42ec79e0dc501077f042a08
Author: Bastien Nocera <hadess@hadess.net>
Date:   Thu Jan 19 22:33:21 2012 +0000

    datetime: Remove datetime D-Bus mechanism
    
    Now that gnome-control-center uses systemd's date & time mechanism[1],
    we don't need to ship our own mechanism for that purpose. This also
    removes the last user of dbus-glib in gnome-settings-daemon [2].
    
    [1]: https://bugzilla.gnome.org/show_bug.cgi?id=658352
    [2]: https://bugzilla.gnome.org/show_bug.cgi?id=622878