On Wed, Nov 29, 2006 at 03:18:57PM +0800, sunzysjzri wrote:
> hi, i write a button which pops up a popupmenu after clicked,
> and when i select an item of the popupmen such warring appeared, and why? 
> 
> ...
>   g_signal_connect (menu, "deactivate", G_CALLBACK (gtk_widget_destroy), 
> NULL);

You cannot destroy the menu in the middle of deselection.
Destroy it in "selection-done" handler.

Yeti


--
Whatever.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to