Re: Serious Bonobo Problem for Sun
- From: Darin Adler <darin eazel com>
- To: Dietmar Maurer <dietmar ximian com>
- Cc: Michael Meeks <michael ximian com>, Maciej Stachowiak <mjs eazel com>, Miguel de Icaza <miguel ximian com>, <brian cameron ireland sun com>, Gnome Components <gnome-components-list gnome org>, Brian Cameron <Brian Cameron Sun COM>
- Subject: Re: Serious Bonobo Problem for Sun
- Date: Wed, 04 Apr 2001 10:05:27 -0700
> on 4/4/01 9:42 AM, Dietmar Maurer at dietmar ximian com wrote:
>
>> I thought this problem is already solved? (bonobo-control.c) /*
>> * This callback is invoked when the plug is unexpectedly destroyed by
>> * way of its associated X window dying. This usually indicates that
>> * the container application has died. This callback is _not_ invoked
>> * if the BonoboControl is destroyed normally, i.e. the user unrefs
>> * the BonoboControl away.
>> */
>> static gboolean
>> bonobo_control_plug_destroy_event_cb (GtkWidget *plug,
>> GdkEventAny *event,
on 4/4/01 9:49 AM, Darin Adler at darin eazel com wrote:
> Yes, this code looks like it could be the first step to solving the problem.
> It's a good approach, because the X window system does ensure that windows
> belonging to dead processes go away.
>
> No, in practice it doesn't solve the problem. If you try with a test program
> I think you'll see that it doesn't work yet.
I thought of one specific problem that might not be obvious at first glance.
If the BonoboControl is also a BonoboZoomable, then the BonoboZoomableFrame
will be holding a reference to the object too, so the unref in
bonobo_control_plug_destroy_event_cb won't be sufficient to make the object
get destroyed.
-- Darin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]