summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 31f63b7ae3..a0b6e37553 100644
--- a/src/main.c
+++ b/src/main.c
@@ -46,7 +46,7 @@
#include "main-utils.h"
#include "nm-manager.h"
#include "nm-linux-platform.h"
-#include "nm-dbus-manager.h"
+#include "nm-bus-manager.h"
#include "nm-device.h"
#include "nm-dhcp-manager.h"
#include "nm-logging.h"
@@ -422,7 +422,7 @@ main (int argc, char *argv[])
#endif
);
- if (!nm_dbus_manager_get_connection (nm_dbus_manager_get ())) {
+ if (!nm_bus_manager_get_connection (nm_bus_manager_get ())) {
#if HAVE_DBUS_GLIB_100
nm_log_warn (LOGD_CORE, "Failed to connect to D-Bus; only private bus is available");
#else
@@ -431,7 +431,7 @@ main (int argc, char *argv[])
#endif
} else {
/* Start our DBus service */
- if (!nm_dbus_manager_start_service (nm_dbus_manager_get ())) {
+ if (!nm_bus_manager_start_service (nm_bus_manager_get ())) {
nm_log_err (LOGD_CORE, "failed to start the dbus service.");
goto done;
}