using dbus in the platform
Simon McVittie
simon.mcvittie at collabora.co.uk
Thu Oct 18 07:17:41 PDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, 28 Sep 2007 at 11:49:16 -0400, Havoc Pennington wrote:
> 2) GTK+ has a dependency on dbus, on X11 only, for "desktop
> integration" features to work. (See list of examples above.) By
> "dependency" I mean specifically:
> - dbus.h is not included in gtk.h
> - gtk or gdk contains interfaces such as settings, notifications,
> single instance, launch help viewer; on X11, these are implemented
> using libdbus (suggest a cut-and-paste of hippo-dbus-helper.[hc] or
> equivalent is used internal to gtk)
> - on Windows and OS X, these interfaces are implemented in some
> native way (though it could make sense to rely on a dbus port in some
> cases, I don't know)
I'm not convinced Gtk+ is the place to be experimenting with D-Bus
integration. Can't we do the experimentation in a libgdesktopbus or
libgnomebus or something, with convenience API for single-instance,
notifications, etc., that hides libdbus, and if it turns out that in fact
everyone wants it, push it into Gtk+ later?
In fact, there is already libnotify, which is a C wrapper around libdbus
(hiding libdbus completely, IIRC) to do notifications.
Simon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: OpenPGP key: http://www.pseudorandom.co.uk/2003/contact/ or pgp.net
iD8DBQFHF2sFWSc8zVUw7HYRAmCUAJ9QVf5+OcWX3KimORN7QWvgN5YxRgCgsoaE
7+R4RJ6Yey0Af1kiC4VYH5o=
=DVrO
-----END PGP SIGNATURE-----
More information about the dbus
mailing list