patch for ownership problem in bonobo-uih-menu.c
- From: Nat Friedman <nat helixcode com>
- To: John Sullivan <sullivan eazel com>
- Cc: gnome-components-list <gnome-components-list gnome org>
- Subject: patch for ownership problem in bonobo-uih-menu.c
- Date: Tue, 7 Mar 2000 19:04:41 -0500 (EST)
John Sullivan writes:
> Here's another patch for a problem Nautilus has run into with bonobo menus.
> When quitting, the bonobo menu items are destroyed in the normal way by the
> widget hierarchy being torn down, then they get accessed in bonobo and spew
> GTK-CRITICALs all over the place.
>
> Should I go ahead and commit this simple change? I'm not sure if there's
> some other solution, but these two gtk_object_ref calls fix the symptom.
That looks to me like the correct solution. Thanks for helping out so
much, John. I feel bad about that code but have been too busy to work
on it lately.
Nat
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]