Re: popupmen item callback

2006-11-29 Thread Yeti
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

popupmen item callback

2006-11-28 Thread sunzysjzri
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? (taskmanager:4638): Gtk-CRITICAL **: gtk_widget_get_display: assertion `GTK_IS_WIDGET (widget)' failed (taskmanager:4638): Gdk-CRITICAL **: gdk_display_sync: a