summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--callouts/nm-avahi-autoipd-action.c6
-rw-r--r--callouts/nm-dispatcher-api.h6
-rw-r--r--examples/C/glib/add-connection-dbus-glib.c2
-rw-r--r--examples/C/glib/get-active-connections-dbus-glib.c2
-rw-r--r--examples/C/glib/list-connections-dbus-glib.c2
-rw-r--r--examples/C/qt/add-connection-wired.cpp2
-rw-r--r--examples/C/qt/change-ipv4-addresses.cpp6
-rw-r--r--examples/C/qt/list-connections.cpp2
-rw-r--r--libnm-core/NetworkManager.h6
-rw-r--r--libnm/nm-remote-connection.c6
-rw-r--r--libnm/nm-remote-settings.c8
-rw-r--r--libnm/tests/test-remote-settings-client.c6
-rw-r--r--src/nm-dispatcher.c2
-rw-r--r--src/settings/nm-settings.c2
14 files changed, 29 insertions, 29 deletions
diff --git a/callouts/nm-avahi-autoipd-action.c b/callouts/nm-avahi-autoipd-action.c
index f84eed7126..02d5207b30 100644
--- a/callouts/nm-avahi-autoipd-action.c
+++ b/callouts/nm-avahi-autoipd-action.c
@@ -28,8 +28,8 @@
#include <dbus/dbus-glib-lowlevel.h>
#include <dbus/dbus-glib.h>
-#define NM_AVAHI_AUTOIPD_DBUS_SERVICE "org.freedesktop.nm_avahi_autoipd"
-#define NM_AVAHI_AUTOIPD_DBUS_IFACE "org.freedesktop.nm_avahi_autoipd"
+#define NM_AVAHI_AUTOIPD_DBUS_SERVICE "org.freedesktop.nm_avahi_autoipd"
+#define NM_AVAHI_AUTOIPD_DBUS_INTERFACE "org.freedesktop.nm_avahi_autoipd"
static DBusConnection *
dbus_init (void)
@@ -113,7 +113,7 @@ main (int argc, char *argv[])
if (connection == NULL)
exit (1);
- message = dbus_message_new_signal ("/", NM_AVAHI_AUTOIPD_DBUS_IFACE, "Event");
+ message = dbus_message_new_signal ("/", NM_AVAHI_AUTOIPD_DBUS_INTERFACE, "Event");
if (message == NULL) {
fprintf (stderr, "Error: not enough memory to send autoip Event signal.\n");
exit (1);
diff --git a/callouts/nm-dispatcher-api.h b/callouts/nm-dispatcher-api.h
index 03e40f7752..bc156aa0f7 100644
--- a/callouts/nm-dispatcher-api.h
+++ b/callouts/nm-dispatcher-api.h
@@ -28,9 +28,9 @@
#define DISPATCHER_TYPE_RESULT (dbus_g_type_get_struct ("GValueArray", G_TYPE_STRING, G_TYPE_UINT, G_TYPE_STRING, G_TYPE_INVALID))
#define DISPATCHER_TYPE_RESULT_ARRAY (dbus_g_type_get_collection ("GPtrArray", DISPATCHER_TYPE_RESULT))
-#define NM_DISPATCHER_DBUS_SERVICE "org.freedesktop.nm_dispatcher"
-#define NM_DISPATCHER_DBUS_IFACE "org.freedesktop.nm_dispatcher"
-#define NM_DISPATCHER_DBUS_PATH "/org/freedesktop/nm_dispatcher"
+#define NM_DISPATCHER_DBUS_SERVICE "org.freedesktop.nm_dispatcher"
+#define NM_DISPATCHER_DBUS_INTERFACE "org.freedesktop.nm_dispatcher"
+#define NM_DISPATCHER_DBUS_PATH "/org/freedesktop/nm_dispatcher"
#define NMD_CONNECTION_PROPS_PATH "path"
diff --git a/examples/C/glib/add-connection-dbus-glib.c b/examples/C/glib/add-connection-dbus-glib.c
index edf8e7996f..10468e7064 100644
--- a/examples/C/glib/add-connection-dbus-glib.c
+++ b/examples/C/glib/add-connection-dbus-glib.c
@@ -114,7 +114,7 @@ int main (int argc, char *argv[])
proxy = dbus_g_proxy_new_for_name (bus,
NM_DBUS_SERVICE,
NM_DBUS_PATH_SETTINGS,
- NM_DBUS_IFACE_SETTINGS);
+ NM_DBUS_INTERFACE_SETTINGS);
/* Add a connection */
add_connection (proxy, "__Test connection__");
diff --git a/examples/C/glib/get-active-connections-dbus-glib.c b/examples/C/glib/get-active-connections-dbus-glib.c
index ebc5d494c0..e0faea7393 100644
--- a/examples/C/glib/get-active-connections-dbus-glib.c
+++ b/examples/C/glib/get-active-connections-dbus-glib.c
@@ -55,7 +55,7 @@ print_connection (DBusGConnection *bus, const char *path)
proxy = dbus_g_proxy_new_for_name (bus,
NM_DBUS_SERVICE,
path,
- NM_DBUS_IFACE_SETTINGS_CONNECTION);
+ NM_DBUS_INTERFACE_SETTINGS_CONNECTION);
g_assert (proxy);
/* Request the all the configuration of the Connection */
diff --git a/examples/C/glib/list-connections-dbus-glib.c b/examples/C/glib/list-connections-dbus-glib.c
index 0b48ae40b3..266cf19fd2 100644
--- a/examples/C/glib/list-connections-dbus-glib.c
+++ b/examples/C/glib/list-connections-dbus-glib.c
@@ -78,7 +78,7 @@ int main (int argc, char *argv[])
proxy = dbus_g_proxy_new_for_name (bus,
NM_DBUS_SERVICE,
NM_DBUS_PATH_SETTINGS,
- NM_DBUS_IFACE_SETTINGS);
+ NM_DBUS_INTERFACE_SETTINGS);
/* List connections of system settings service */
list_connections (proxy);
diff --git a/examples/C/qt/add-connection-wired.cpp b/examples/C/qt/add-connection-wired.cpp
index 475eaffffb..efcb107904 100644
--- a/examples/C/qt/add-connection-wired.cpp
+++ b/examples/C/qt/add-connection-wired.cpp
@@ -68,7 +68,7 @@ int main() {
QDBusInterface interface(
NM_DBUS_SERVICE,
NM_DBUS_PATH_SETTINGS,
- NM_DBUS_IFACE_SETTINGS,
+ NM_DBUS_INTERFACE_SETTINGS,
QDBusConnection::systemBus());
addConnection(interface, "__Test connection__");
diff --git a/examples/C/qt/change-ipv4-addresses.cpp b/examples/C/qt/change-ipv4-addresses.cpp
index 2fdf5e071e..60f7159cf6 100644
--- a/examples/C/qt/change-ipv4-addresses.cpp
+++ b/examples/C/qt/change-ipv4-addresses.cpp
@@ -61,7 +61,7 @@ const QString getConnection(const QString& connectionUuid, Connection *found_con
QDBusInterface interface(
NM_DBUS_SERVICE,
NM_DBUS_PATH_SETTINGS,
- NM_DBUS_IFACE_SETTINGS,
+ NM_DBUS_INTERFACE_SETTINGS,
QDBusConnection::systemBus());
// Get connection list and find the connection with 'connectionUuid'
@@ -71,7 +71,7 @@ const QString getConnection(const QString& connectionUuid, Connection *found_con
ifaceForSettings = new QDBusInterface(
NM_DBUS_SERVICE,
connection.path(),
- NM_DBUS_IFACE_SETTINGS_CONNECTION,
+ NM_DBUS_INTERFACE_SETTINGS_CONNECTION,
QDBusConnection::systemBus());
QDBusReply<Connection> result2 = ifaceForSettings->call("GetSettings");
delete ifaceForSettings;
@@ -120,7 +120,7 @@ void changeConnection(const QString& uuid)
QDBusInterface interface(
NM_DBUS_SERVICE,
conPath,
- NM_DBUS_IFACE_SETTINGS_CONNECTION,
+ NM_DBUS_INTERFACE_SETTINGS_CONNECTION,
QDBusConnection::systemBus());
// Call Update() D-Bus method to update connection
diff --git a/examples/C/qt/list-connections.cpp b/examples/C/qt/list-connections.cpp
index fb98166474..a10754cafb 100644
--- a/examples/C/qt/list-connections.cpp
+++ b/examples/C/qt/list-connections.cpp
@@ -44,7 +44,7 @@ int main() {
QDBusInterface interface(
NM_DBUS_SERVICE,
NM_DBUS_PATH_SETTINGS,
- NM_DBUS_IFACE_SETTINGS,
+ NM_DBUS_INTERFACE_SETTINGS,
QDBusConnection::systemBus());
listConnections(interface);
diff --git a/libnm-core/NetworkManager.h b/libnm-core/NetworkManager.h
index cf47010bfd..b5575f63a0 100644
--- a/libnm-core/NetworkManager.h
+++ b/libnm-core/NetworkManager.h
@@ -65,12 +65,12 @@
#define NM_DBUS_INTERFACE_DEVICE_GRE NM_DBUS_INTERFACE_DEVICE ".Gre"
-#define NM_DBUS_IFACE_SETTINGS "org.freedesktop.NetworkManager.Settings"
+#define NM_DBUS_INTERFACE_SETTINGS "org.freedesktop.NetworkManager.Settings"
#define NM_DBUS_PATH_SETTINGS "/org/freedesktop/NetworkManager/Settings"
-#define NM_DBUS_IFACE_SETTINGS_CONNECTION "org.freedesktop.NetworkManager.Settings.Connection"
+#define NM_DBUS_INTERFACE_SETTINGS_CONNECTION "org.freedesktop.NetworkManager.Settings.Connection"
#define NM_DBUS_PATH_SETTINGS_CONNECTION "/org/freedesktop/NetworkManager/Settings/Connection"
-#define NM_DBUS_IFACE_SETTINGS_CONNECTION_SECRETS "org.freedesktop.NetworkManager.Settings.Connection.Secrets"
+#define NM_DBUS_INTERFACE_SETTINGS_CONNECTION_SECRETS "org.freedesktop.NetworkManager.Settings.Connection.Secrets"
#define NM_DBUS_INTERFACE_AGENT_MANAGER NM_DBUS_INTERFACE ".AgentManager"
#define NM_DBUS_PATH_AGENT_MANAGER "/org/freedesktop/NetworkManager/AgentManager"
diff --git a/libnm/nm-remote-connection.c b/libnm/nm-remote-connection.c
index 8d5c9534e2..f5ee0de1ea 100644
--- a/libnm/nm-remote-connection.c
+++ b/libnm/nm-remote-connection.c
@@ -576,7 +576,7 @@ constructed (GObject *object)
priv->proxy = _nm_dbus_new_proxy_for_connection (priv->bus,
nm_connection_get_path (NM_CONNECTION (object)),
- NM_DBUS_IFACE_SETTINGS_CONNECTION);
+ NM_DBUS_INTERFACE_SETTINGS_CONNECTION);
g_assert (priv->proxy);
dbus_g_proxy_set_default_timeout (priv->proxy, G_MAXINT);
@@ -625,7 +625,7 @@ init_sync (GInitable *initable, GCancellable *cancellable, GError **error)
/* Get properties */
hash = NULL;
if (!dbus_g_proxy_call (priv->props_proxy, "GetAll", error,
- G_TYPE_STRING, NM_DBUS_IFACE_SETTINGS_CONNECTION,
+ G_TYPE_STRING, NM_DBUS_INTERFACE_SETTINGS_CONNECTION,
G_TYPE_INVALID,
DBUS_TYPE_G_MAP_OF_VARIANT, &hash,
G_TYPE_INVALID))
@@ -698,7 +698,7 @@ init_get_settings_cb (DBusGProxy *proxy,
/* Grab properties */
dbus_g_proxy_begin_call (priv->props_proxy, "GetAll",
init_async_got_properties, init_data, NULL,
- G_TYPE_STRING, NM_DBUS_IFACE_SETTINGS_CONNECTION,
+ G_TYPE_STRING, NM_DBUS_INTERFACE_SETTINGS_CONNECTION,
G_TYPE_INVALID);
}
diff --git a/libnm/nm-remote-settings.c b/libnm/nm-remote-settings.c
index f0d7ba8e08..8c03693324 100644
--- a/libnm/nm-remote-settings.c
+++ b/libnm/nm-remote-settings.c
@@ -1014,7 +1014,7 @@ name_owner_changed (DBusGProxy *proxy,
dbus_g_proxy_begin_call (priv->props_proxy, "GetAll",
nm_appeared_got_properties, self, NULL,
- G_TYPE_STRING, NM_DBUS_IFACE_SETTINGS,
+ G_TYPE_STRING, NM_DBUS_INTERFACE_SETTINGS,
G_TYPE_INVALID);
} else {
priv->service_running = FALSE;
@@ -1179,7 +1179,7 @@ constructed (GObject *object)
priv->proxy = _nm_dbus_new_proxy_for_connection (priv->bus,
NM_DBUS_PATH_SETTINGS,
- NM_DBUS_IFACE_SETTINGS);
+ NM_DBUS_INTERFACE_SETTINGS);
g_assert (priv->proxy);
dbus_g_proxy_set_default_timeout (priv->proxy, G_MAXINT);
@@ -1242,7 +1242,7 @@ init_sync (GInitable *initable, GCancellable *cancellable, GError **error)
/* Get properties */
if (!dbus_g_proxy_call (priv->props_proxy, "GetAll", error,
- G_TYPE_STRING, NM_DBUS_IFACE_SETTINGS,
+ G_TYPE_STRING, NM_DBUS_INTERFACE_SETTINGS,
G_TYPE_INVALID,
DBUS_TYPE_G_MAP_OF_VARIANT, &props,
G_TYPE_INVALID))
@@ -1313,7 +1313,7 @@ init_get_properties (NMRemoteSettingsInitData *init_data)
dbus_g_proxy_begin_call (priv->props_proxy, "GetAll",
init_async_got_properties, init_data, NULL,
- G_TYPE_STRING, NM_DBUS_IFACE_SETTINGS,
+ G_TYPE_STRING, NM_DBUS_INTERFACE_SETTINGS,
G_TYPE_INVALID);
}
diff --git a/libnm/tests/test-remote-settings-client.c b/libnm/tests/test-remote-settings-client.c
index 987845c1bb..424aaa4f59 100644
--- a/libnm/tests/test-remote-settings-client.c
+++ b/libnm/tests/test-remote-settings-client.c
@@ -153,7 +153,7 @@ test_make_invisible (void)
proxy = dbus_g_proxy_new_for_name (bus,
NM_DBUS_SERVICE,
path,
- NM_DBUS_IFACE_SETTINGS_CONNECTION);
+ NM_DBUS_INTERFACE_SETTINGS_CONNECTION);
g_assert (proxy != NULL);
/* Bypass the NMRemoteSettings object so we can test it independently */
@@ -221,7 +221,7 @@ test_make_visible (void)
proxy = dbus_g_proxy_new_for_name (bus,
NM_DBUS_SERVICE,
path,
- NM_DBUS_IFACE_SETTINGS_CONNECTION);
+ NM_DBUS_INTERFACE_SETTINGS_CONNECTION);
g_assert (proxy != NULL);
/* Bypass the NMRemoteSettings object so we can test it independently */
@@ -304,7 +304,7 @@ test_remove_connection (void)
proxy = dbus_g_proxy_new_for_name (bus,
NM_DBUS_SERVICE,
path,
- NM_DBUS_IFACE_SETTINGS_CONNECTION);
+ NM_DBUS_INTERFACE_SETTINGS_CONNECTION);
g_assert (proxy != NULL);
/* Bypass the NMRemoteSettings object so we can test it independently */
diff --git a/src/nm-dispatcher.c b/src/nm-dispatcher.c
index fddd0d5a86..141e17713f 100644
--- a/src/nm-dispatcher.c
+++ b/src/nm-dispatcher.c
@@ -464,7 +464,7 @@ _dispatcher_call (DispatcherAction action,
proxy = dbus_g_proxy_new_for_name (g_connection,
NM_DISPATCHER_DBUS_SERVICE,
NM_DISPATCHER_DBUS_PATH,
- NM_DISPATCHER_DBUS_IFACE);
+ NM_DISPATCHER_DBUS_INTERFACE);
if (!proxy) {
nm_log_err (LOGD_DISPATCH, "(%u) could not get dispatcher proxy!", reqid);
return FALSE;
diff --git a/src/settings/nm-settings.c b/src/settings/nm-settings.c
index 09f0909988..3db4176a99 100644
--- a/src/settings/nm-settings.c
+++ b/src/settings/nm-settings.c
@@ -2032,7 +2032,7 @@ nm_settings_class_init (NMSettingsClass *class)
G_TYPE_NONE, 1, G_TYPE_OBJECT);
dbus_g_error_domain_register (NM_SETTINGS_ERROR,
- NM_DBUS_IFACE_SETTINGS,
+ NM_DBUS_INTERFACE_SETTINGS,
NM_TYPE_SETTINGS_ERROR);
/* And register all the settings errors with D-Bus */