core: fix dbus reconnection by not mixing up GSourceFunc return values

TRUE means continue the timeout, FALSE means remove.  Yay for me.
This commit is contained in:
Dan Williams 2009-06-05 11:49:54 -04:00
parent f8026260c6
commit f194ca6cff

View file

@ -161,12 +161,14 @@ nm_dbus_manager_reconnect (gpointer user_data)
nm_info ("reconnected to the system bus.");
g_signal_emit (self, signals[DBUS_CONNECTION_CHANGED],
0, priv->connection);
return TRUE;
priv->reconnect_id = 0;
return FALSE;
}
}
/* Try again */
nm_dbus_manager_cleanup (self, FALSE);
return FALSE;
return TRUE;
}
static void