Re: GWP doesn't compile (patch included)
- From: Miguel de Icaza <miguel nuclecu unam mx>
- To: Daniel_Burrows brown edu
- CC: gnome-list gnome org
- Subject: Re: GWP doesn't compile (patch included)
- Date: Sun, 27 Dec 1998 00:39:00 -0600
> 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]