[maemo-users] Confirmation note

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

-Ari




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux