Re: GWP doesn't compile (patch included)




>   I poked around in the gnome_app_remove_menus() code and discovered that
> it calls gtk_container_remove() on each menu item, followed by
> gtk_destroy_widget(), but the gtk_destroy_widget() segfaults first time.  Is
> it possible that gtk_container_remove() destroys the widget, causing
> gtk_destroy_widget() to free() memory which has already been deallocated, or
> something like that?  Anyway, this looks like maybe a libgnomeui bug.. (?)

Yeah, this sounds like a bug.

When you do a container_remove, GTK+ decreases the reference count on
the child widget.  

Miguel.



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