-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ari Paavilainen schrieb: > Hi, Hi! > I'm using confirmation note with following code: > > GtkWidget *note; > int i; > note = GTK_WIDGET(hildon_note_new_confirmation(GTK_WINDOW(uidata.app), > "Message)); > 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? Did you use gdk_threads_init() in your main()? > -Ari Cheers nils faerber - -- kernel concepts Tel: +49-271-771091-12 Dreisbachstr. 24 Fax: +49-271-771091-19 D-57250 Netphen Mob: +49-176-21024535 - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEGqUEJXeIURG1qHgRAjkuAKDgUAzElmNoVaWfQ06nZbJHiZFxYACg7yN3 TibSqVKHBN4UXAvytD72GT0= =Tcqi -----END PGP SIGNATURE-----