diff options
Diffstat (limited to 'libnm/nm-object.c')
| -rw-r--r-- | libnm/nm-object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm/nm-object.c b/libnm/nm-object.c index ef335862..c344a08d 100644 --- a/libnm/nm-object.c +++ b/libnm/nm-object.c @@ -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); } |