[maemo-developers] [maemo-developers] Help on how to attach a non gtk+/hildon app to D-Bus

From: Kimmo Hämäläinen kimmo.hamalainen at nokia.com
Date: Thu Jan 11 15:13:00 EET 2007
On Wed, 2007-01-10 at 21:42 +0100, ext Tim Teulings wrote:
> Hello!
> > Is it possible to initialize our C application (non GTK+/Hildon app.) and
> > attach it to D-Bus with libOSSO library?
> IMHO libOSSO is intermixed with Gtk so you must user Gtk somehow if you
> want libOSSO. Depending on your needs if might be enough to just
> initialize Gtk main event loop to get handling of DBus signals (quiting
> main event loop if your event has been reached).

No, Libosso does not use Gtk+. It uses D-Bus and Glib. Receiving signals
with the current Libosso API requires using the D-Bus API, though. You
could do it by getting the DBusConnection from Libosso and installing a
D-Bus filter function for the system bus to catch all the signals
broadcast there.

BR; Kimmo

More information about the maemo-developers mailing list