[maemo-users] [maemo-users] Confirmation note

From: Ari Paavilainen arip at iki.fi
Date: Fri Mar 17 11:51:14 EET 2006

I'm using confirmation note with following code:

GtkWidget *note;
int i;
note = GTK_WIDGET(hildon_note_new_confirmation(GTK_WINDOW(uidata.app),
i = gtk_dialog_run (GTK_DIALOG (note));
gtk_widget_destroy (GTK_WIDGET (note));

When the code is in an ordinary callback function it works fine, but
when it is in a function which runs in a different thread, I get
following error messages:

GLIB CRITICAL ** Gdk - gdk_window_set_geometry_hints: assertion
'window != NULL' failed
GLIB CRITICAL ** Gdk - gdk_window_move_resize: assertion 'window !=
NULL' failed
Xlib: unexpected async reply (sequence 0x1d35)!

Any hints what's wrong?


More information about the maemo-users mailing list