View Single Post
  #76  
Old 2010-03-29, 17:56
qwerty12's Avatar
qwerty12 qwerty12 is offline
 
Join Date: Sep 2007
Location: Looking at y'all and sighing
Posts: 4,274
Thanks!: 5,528
Thanked 5,358 Times in 1,954 Posts
Default Re: Fahrplan app for maemo (Germany)

It's missing an osso_initialize (), hence the crashes after 2 mins.

Do something like:
#include <config.h>
#include <libosso.h>

osso_context_t *osso_ctx = osso_initialize (PACKAGE, VERSION, FALSE, NULL);
g_assert (osso_ctx != NULL);

*after the program has ran*

osso_deinitialize (osso_ctx);
Reply With Quote
The Following 4 Users Say Thank You to qwerty12 For This Useful Post: