[network-manager-applet/polkit1] editor: fix for changes in libnm-glib and NMSettingsInterface
- From: Dan Williams <dcbw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [network-manager-applet/polkit1] editor: fix for changes in libnm-glib and NMSettingsInterface
- Date: Tue, 11 Aug 2009 20:19:44 +0000 (UTC)
commit ca18baafdd3b933d90100327320a3f23140c043e
Author: Dan Williams <dcbw redhat com>
Date: Tue Aug 11 15:18:45 2009 -0500
editor: fix for changes in libnm-glib and NMSettingsInterface
src/connection-editor/nm-connection-list.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/connection-editor/nm-connection-list.c b/src/connection-editor/nm-connection-list.c
index 1788fc2..43e6509 100644
--- a/src/connection-editor/nm-connection-list.c
+++ b/src/connection-editor/nm-connection-list.c
@@ -419,7 +419,7 @@ add_connection (NMConnectionList *self,
gpointer callback_data)
{
NMSettingsInterface *settings = NULL;
- NMSettingsConnectionInterface *connection;
+ NMConnection *connection;
NMConnectionScope scope;
AddInfo *info;
@@ -429,9 +429,9 @@ add_connection (NMConnectionList *self,
info->callback = callback;
info->callback_data = callback_data;
- connection = NM_SETTINGS_CONNECTION_INTERFACE (nm_connection_editor_get_connection (editor));
+ connection = nm_connection_editor_get_connection (editor);
g_assert (connection);
- scope = nm_connection_get_scope (NM_CONNECTION (connection));
+ scope = nm_connection_get_scope (connection);
if (scope == NM_CONNECTION_SCOPE_SYSTEM)
settings = NM_SETTINGS_INTERFACE (self->system_settings);
else if (scope == NM_CONNECTION_SCOPE_USER)
@@ -439,9 +439,9 @@ add_connection (NMConnectionList *self,
else
g_assert_not_reached ();
- utils_fill_connection_certs (NM_CONNECTION (connection));
+ utils_fill_connection_certs (connection);
nm_settings_interface_add_connection (settings, connection, add_cb, info);
- utils_clear_filled_connection_certs (NM_CONNECTION (connection));
+ utils_clear_filled_connection_certs (connection);
}
/**********************************************/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]