Re: Signal emmision problems




[ I CCed this to gtk-bugs, as I believe this is a bug in GTK+ ]

> I have a GnomePropertyBox with GnomeEntry widgets on some of the pages. 
> I have connected the "changed" signal on the GnomeEntry widgets to a
> callback which calls gnome_property_box_changed.
> 
> The problems that is occuring is this :
> When the dialog containing the property box is closed (via OK or
> Cancel), both of the GnomeEntry widgets are emitting "changed" signals,
> although neither have changed.  The first one goes OK, but the second
> one causes a segfault, because the notebook containing the pages has
> been destroyed by this point.

I have seen this happening today as well for me (in the gnome-entry.c)
widget.  I provided a quick work around for those widgets, but I agree
that this is a strange behaviour.

Miguel.



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