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:
@ -1,3 +1,10 @@
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user