Set properties in the order in which they are specified in the xml file.

* gtk/gtkbuilderparser.c (parse_custom): Set properties in the order
        in which they are specified in the xml file.


svn path=/trunk/; revision=20749
This commit is contained in:
Matthias Clasen
2008-07-03 18:09:04 +00:00
parent efd2dbf026
commit 7d9cf87a04
2 changed files with 8 additions and 0 deletions

View File

@ -713,6 +713,7 @@ parse_custom (GMarkupParseContext *context,
ObjectInfo* object_info = (ObjectInfo*)parent_info;
if (!object_info->object)
{
object_info->properties = g_slist_reverse (object_info->properties);
object_info->object = _gtk_builder_construct (data->builder,
object_info,
error);