summaryrefslogtreecommitdiff
path: root/src/settings/nm-agent-manager.c
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/settings/nm-agent-manager.c
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/settings/nm-agent-manager.c')
-rw-r--r--src/settings/nm-agent-manager.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/settings/nm-agent-manager.c b/src/settings/nm-agent-manager.c
index eb0073be0a..eaf5ff3f2b 100644
--- a/src/settings/nm-agent-manager.c
+++ b/src/settings/nm-agent-manager.c
@@ -38,7 +38,7 @@
#include "nm-setting-connection.h"
#include "nm-enum-types.h"
#include "nm-auth-manager.h"
-#include "nm-dbus-manager.h"
+#include "nm-bus-manager.h"
#include "nm-session-monitor.h"
#include "nm-simple-connection.h"
#include "NetworkManagerUtils.h"
@@ -355,11 +355,11 @@ impl_agent_manager_unregister (NMAgentManager *self,
GError *error = NULL;
char *sender = NULL;
- if (!nm_dbus_manager_get_caller_info (nm_dbus_manager_get (),
- context,
- &sender,
- NULL,
- NULL)) {
+ if (!nm_bus_manager_get_caller_info (nm_bus_manager_get (),
+ context,
+ &sender,
+ NULL,
+ NULL)) {
error = g_error_new_literal (NM_AGENT_MANAGER_ERROR,
NM_AGENT_MANAGER_ERROR_PERMISSION_DENIED,
"Unable to determine request sender.");