[maemo-developers] [maemo-developers] Could not initialize osso
From: Gergely Buday gbuday at gmail.comDate: Thu Jun 23 18:38:44 EEST 2005
- Previous message: [maemo-developers] Scratchbox and Environment Variables ($ACLOCAL_FLAGS)
- Next message: [maemo-developers] Could not initialize osso
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
when typing af-sb-init.sh, I get the following error message:
** (hildon-input-method:14020): WARNING **: Could not initialize osso
from hildon-input-method
14020: arguments to dbus_connection_get_data() were incorrect,
assertion "connection != NULL" failed in file dbus-connection.c line
3633.
This is normally a bug in some application using the D-BUS library.
14020: arguments to dbus_connection_set_watch_functions() were
incorrect, assertion "connection != NULL" failed in file
dbus-connection.c line 2958.
This is normally a bug in some application using the D-BUS library.
My code is the following:
#include <hildon-widgets/hildon-app.h>
#include <hildon-widgets/hildon-appview.h>
#include <gtk/gtk.h>
#include <libosso.h>
int main(int argc, char** argv)
{
HildonApp* app;
HildonAppView* appview;
gtk_init(&argc, &argv);
osso_initialize("helloWorld", "0.1", TRUE, NULL);
app = HILDON_APP(hildon_app_new());
hildon_app_set_title(app, ("My Title"));
hildon_app_set_two_part_title(app, TRUE);
appview = HILDON_APPVIEW(hildon_appview_new("AppView Title"));
hildon_app_set_appview(app, appview);
gtk_container_add(GTK_CONTAINER(appview),
gtk_label_new("HildonAppView Example"));
gtk_widget_show_all(GTK_WIDGET(app));
gtk_main();
return 0;
}
Or should I look for the mistake somewhere else?
- Gergely
- Previous message: [maemo-developers] Scratchbox and Environment Variables ($ACLOCAL_FLAGS)
- Next message: [maemo-developers] Could not initialize osso
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
