As it was implemented, the default attributes are appended to the end
of the list, and later in time only the last occurence of every
attribute will be preserved.
Just changing the order of the list fixes this bug.
https://bugzilla.gnome.org/show_bug.cgi?id=731980
return droute_invalid_arguments_error (message);
}
- attributes =
- atk_text_get_run_attributes (text, offset, &intstart_offset,
- &intend_offset);
-
if (includeDefaults)
{
attributes = g_slist_concat (attributes,
atk_text_get_default_attributes (text));
}
+ attributes = g_slist_concat (attributes,
+ atk_text_get_run_attributes (text, offset,
+ &intstart_offset,
+ &intend_offset));
+
reply = dbus_message_new_method_return (message);
if (!reply)
return NULL;