mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 16:50:16 +01:00
libnm: don't invert order in array properties
The order of elements in array properties was inverted when reconstructing the array. Keep the original order from D-Bus.
This commit is contained in:
parent
a5b4850682
commit
c90118ff60
1 changed files with 1 additions and 1 deletions
|
|
@ -572,7 +572,7 @@ object_created (GObject *obj, const char *path, gpointer user_data)
|
|||
object_class->object_creation_failed (odata->self, path);
|
||||
}
|
||||
|
||||
odata->objects[--odata->remaining] = obj ? g_object_ref (obj) : NULL;
|
||||
odata->objects[odata->length - odata->remaining--] = obj ? g_object_ref (obj) : NULL;
|
||||
object_property_maybe_complete (odata->self);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue