-
Colin Walters authored
* info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running): Delete. (nmi_dbus_service_init): Call dbus_bus_acquire_service with the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS. This avoids a race condition that made it pretty easily possible to get two NetworkManagerInfo daemons running. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@305 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
00f2e0d8