[maemo-developers] home plugin osso initialization
From: Bill Filler bfiller at pepper.comDate: Sat Sep 15 16:26:01 EEST 2007
- Previous message: home plugin osso initialization
- Next message: Looks like .maemo.org cert has expired
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Johan, Thank you for the information. Sounds like the preferred way is to call osso_initialize directly, but it is good to know the other way as well. Thanks again. Bill On Sep 15, 2007, at 8:29 AM, Johan Bilien wrote: > 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 > <jobi at via.ecp.fr>
- Previous message: home plugin osso initialization
- Next message: Looks like .maemo.org cert has expired
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]