diff options
author | Tambet Ingo <tambet@ximian.com> | 2007-02-12 09:23:43 +0000 |
---|---|---|
committer | Tambet Ingo <tambet@gmail.com> | 2007-02-12 09:23:43 +0000 |
commit | 8a4c57f63186bac717e3d0d547a3b5931fb19b13 (patch) | |
tree | 9c6a2873c32a5a75454edc945b0747e863f626e8 /test | |
parent | 13af56e67d54e3b9b99b8ca4e7aae5046aafd336 (diff) | |
download | NetworkManager-8a4c57f63186bac717e3d0d547a3b5931fb19b13.tar.gz |
2007-02-12 Tambet Ingo <tambet@ximian.com>
Totally break NetworkManager. Please use 0.6 branch until futher notice.
* src/:
- Remove old low-level dbus interface implementations and replace them
with dbus-glib one.
* configure.in:
- Require dbus-glib >= 0.72.
- Plug in new sources to build.
* libnm-glib/:
- Implement GObject wrappers on top of DBUS glib auto-generated bindings
to make it more convenient to use from GObject based programs.
* introspection/:
- Implement DBUS XML introspection files, used by both NM and libnm-glib.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2309 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Diffstat (limited to 'test')
-rw-r--r-- | test/nm-tool.c | 6 | ||||
-rw-r--r-- | test/nminfotest.c | 4 | ||||
-rw-r--r-- | test/nmtestdevices.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/test/nm-tool.c b/test/nm-tool.c index c17f765631..bf60351a58 100644 --- a/test/nm-tool.c +++ b/test/nm-tool.c @@ -127,7 +127,7 @@ static void detail_network (DBusConnection *connection, const char *path, const g_return_if_fail (connection != NULL); g_return_if_fail (path != NULL); - if (!(message = dbus_message_new_method_call (NM_DBUS_SERVICE, path, NM_DBUS_INTERFACE_DEVICES, "getProperties"))) + if (!(message = dbus_message_new_method_call (NM_DBUS_SERVICE, path, NM_DBUS_INTERFACE_DEVICE, "getProperties"))) { fprintf (stderr, "detail_network(): couldn't create new dbus message.\n"); return; @@ -214,7 +214,7 @@ get_driver_name (DBusConnection *connection, const char *path) g_return_val_if_fail (path != NULL, NULL); - if (!(message = dbus_message_new_method_call (NM_DBUS_SERVICE, path, NM_DBUS_INTERFACE_DEVICES, "getDriver"))) + if (!(message = dbus_message_new_method_call (NM_DBUS_SERVICE, path, NM_DBUS_INTERFACE_DEVICE, "getDriver"))) { nm_warning ("%s(): Couldn't allocate the dbus message", __func__); return NULL; @@ -266,7 +266,7 @@ static void detail_device (DBusConnection *connection, const char *path) g_return_if_fail (connection != NULL); g_return_if_fail (path != NULL); - if (!(message = dbus_message_new_method_call (NM_DBUS_SERVICE, path, NM_DBUS_INTERFACE_DEVICES, "getProperties"))) + if (!(message = dbus_message_new_method_call (NM_DBUS_SERVICE, path, NM_DBUS_INTERFACE_DEVICE, "getProperties"))) { fprintf (stderr, "detail_device(): couldn't create new dbus message.\n"); return; diff --git a/test/nminfotest.c b/test/nminfotest.c index cc77890a85..70ab86201b 100644 --- a/test/nminfotest.c +++ b/test/nminfotest.c @@ -203,8 +203,8 @@ static void get_networks_of_type (DBusConnection *connection, NMNetworkType type static void get_user_key_for_network (DBusConnection *connection) { DBusMessage * message; - const char * dev_path = NM_DBUS_PATH_DEVICES"/eth1"; - const char * net_path = NM_DBUS_PATH_DEVICES"/Networks/wireless-ap"; + const char * dev_path = NM_DBUS_PATH_DEVICE"/eth1"; + const char * net_path = NM_DBUS_PATH_DEVICE"/Networks/wireless-ap"; const char * essid = "wireless-ap"; const int attempts = 0; const gboolean new_key = FALSE; diff --git a/test/nmtestdevices.c b/test/nmtestdevices.c index 086635aaf6..dffe12c731 100644 --- a/test/nmtestdevices.c +++ b/test/nmtestdevices.c @@ -129,7 +129,7 @@ static void set_link_active (DBusConnection *connection, char *dev, gboolean act g_return_if_fail (connection != NULL); g_return_if_fail (dev != NULL); - message = dbus_message_new_method_call (NM_DBUS_SERVICE, dev, NM_DBUS_INTERFACE_DEVICES, "setLinkActive"); + message = dbus_message_new_method_call (NM_DBUS_SERVICE, dev, NM_DBUS_INTERFACE_DEVICE, "setLinkActive"); if (message == NULL) { fprintf (stderr, "Couldn't allocate the dbus message\n"); |