Ryan Lortie b7d2191059 network: properly remove connections from list
Due to a typo we were always removing the first (index 0) connection
from the global list of connections instead of the correct one.

This resulted in some connections remaining in the shell's connection
list long after they were removed.  In particular, this resulted in
multiple copies of a bluetooth connection appearing after suspend/resume
(when the device was readded and the cached connection list was
rescanned).

https://bugzilla.gnome.org/show_bug.cgi?id=740227
(cherry picked from commit 3d4408dce810f3b6995ed2acf28b61bed48c1dac)
2014-11-21 14:15:17 -06:00
..
2013-11-04 11:50:20 -05:00
2014-02-11 18:04:44 -05:00