Commit 7d9cf87a authored by Matthias Clasen's avatar Matthias Clasen
Browse files

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
parent efd2dbf0
2008-07-03 Matthias Clasen <mclasen@redhat.com>
Bug 540915 – GtkBuilder sets properties in reverse order
* gtk/gtkbuilderparser.c (parse_custom): Set properties in the order
in which they are specified in the xml file.
2008-07-03 Matthias Clasen <mclasen@redhat.com>
Bug 539944 – Add GtkScaleButton API so struct fields can be marked as
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment