summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorDan Winship <danw@redhat.com>2015-04-16 14:20:51 -0400
committerDan Winship <danw@redhat.com>2015-07-24 13:25:48 -0400
commit02370be7f31bbcd7a5ecd808c239d48bdad42024 (patch)
treeecddf2f1e6fe3b2c5578fa81fd3e399489d4291d /src/tests
parent1424f249e3f00693784456a9ccaa0f7577af685f (diff)
downloadNetworkManager-02370be7f31bbcd7a5ecd808c239d48bdad42024.tar.gz
core: rename NMDBusManager to NMBusManager
Our gdbus generated types use the same names as their corresponding "real" types, but with "NM" changed to "NMDBus". Unfortunately, that means that introspection/nmdbus-manager.c (the generated type for src/nm-manager.c) uses the same type name as the entirely unrelated src/nm-dbus-manager.c. Fix this by removing the "d" from src/nm-dbus-manager.c. (We could rename the generated type instead, but then it becomes inconsistent with all the other generated types, and we're already using it as "NMDBusManager" in libnm/nm-manager.c.)
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/config/test-config.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/config/test-config.c b/src/tests/config/test-config.c
index 39043ec50f..69e6894347 100644
--- a/src/tests/config/test-config.c
+++ b/src/tests/config/test-config.c
@@ -28,7 +28,7 @@
#include "nm-test-device.h"
#include "nm-fake-platform.h"
#include "nm-logging.h"
-#include "nm-dbus-manager.h"
+#include "nm-bus-manager.h"
#include "nm-test-utils.h"
@@ -757,10 +757,10 @@ main (int argc, char **argv)
/* Initialize the DBus manager singleton explicitly, because it is accessed by
* the class initializer of NMDevice (used by the NMTestDevice stub).
- * This way, we skip calling nm_dbus_manager_init_bus() which would
+ * This way, we skip calling nm_bus_manager_init_bus() which would
* either fail and/or cause unexpected actions in the test.
* */
- nm_dbus_manager_setup (g_object_new (NM_TYPE_DBUS_MANAGER, NULL));
+ nm_bus_manager_setup (g_object_new (NM_TYPE_BUS_MANAGER, NULL));
nm_fake_platform_setup ();