On Fri, Sep 14, 2007, Bill Filler wrote:
> I've written a home plugin that wants to use libosso calls. Does it
> need to explicitly initialize osso (via osso_initialize()) or should
> it use the osso_context_t from hd-desktop or hd-wm? If the later, how
> does it get the osso context? Thanks for any help.
There is no API for this as the plugins used in maemo usually call
osso_initialize themselves. Once your plugin is added to the home area
you could access the osso_context_t used by home with
window = gtk_widget_get_toplevel (your_applet);
g_object_get (window,
"osso-context", &osso_context,
NULL);
but it's a bit hackish.
--
Johan Bilien
<[EMAIL PROTECTED]>
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers