Re: Signal emmision problems
- From: Owen Taylor <otaylor redhat com>
- To: Miguel de Icaza <miguel nuclecu unam mx>
- Cc: campd oit edu, gtk-bugs gimp org, gnome-list gnome org
- Subject: Re: Signal emmision problems
- Date: 20 Jan 1999 15:42:46 -0500
Miguel de Icaza <email@example.com> writes:
> [ 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.
Can somebody provide a test case that exhibits this behavior?
(Preferably a short GTK+ program)
] [Thread Prev