[Glade-devel] [glade-3] crash loading simple file

Joaquin Cuenca Abela e98cuenc@free.fr
Sat, 8 May 2004 20:16:14 +0200


Damon wrote:
> 
> Hi,
> 
> The attached file crashes glade-3 at present.
> 
> glade_widget_create_packing_properties() is calling 
> glade_widget_get_parent(), but the widget hasn't been added 
> to its parent at that point.
> 
> Has someone changed this recently?
> I'm not sure what the correct fix is.

I've fixed the crash, that was introduced when I added support for the
"grand-children" properties (that I wanted to use for the "response-id" of a
button on a dialog box).

As finally we're not using them, I've just commentted out the culprit code.
If you need these kind of properties in the future I will think of a fix for
that.

However, your file still doesn't read correctly. It doesn't crash, but the
label doesn't show up in the table.

I will look at this problem asap.

Thank you for the report, Damon.

Cheers,