settings: handle default-wired-connection in connection-removed signal
Don't subscribe twice to the same signal. The more subscribers a signal has, the more confusing it gets what is happening. We can handle also the default-wired-connection in the regular connection-removed signal. Note how connection_removed() is registered with g_signal_connect_after(), but that is fine. There are few subscribers to this signal (that don't do anything that interferes here). Especially, since all other subscribers subscribe with the same priority (hence, are unordered). So, moving this task explicitly to after, does not change any ordering guarantee -- in fact, it ensures an ordering that was undefined previously. Anyway, it doesn't matter.
Showing with 15 additions and 23 deletions