wifi: fix typo in device_removed_cb()
https://bugzilla.gnome.org/show_bug.cgi?id=789872
This commit is contained in:
parent
03ea0b98f7
commit
fe5ab55ec4
1 changed files with 1 additions and 1 deletions
|
@ -386,7 +386,7 @@ device_removed_cb (NMClient *client,
|
|||
/* Remove from the devices list */
|
||||
for (i = 0; i < self->devices->len; i++)
|
||||
{
|
||||
NetObject *object = g_ptr_array_index (self->devices, 0);
|
||||
NetObject *object = g_ptr_array_index (self->devices, i);
|
||||
|
||||
if (g_strcmp0 (net_object_get_id (object), id) == 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue