[network-manager-netbook/MplPanelClient: 42/44] Fix a rebasing error.
- From: Tambet Ingo <tambeti src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [network-manager-netbook/MplPanelClient: 42/44] Fix a rebasing error.
- Date: Tue, 10 Nov 2009 14:13:14 +0000 (UTC)
commit 947ba2f71d29ca6d389c89e4d80bba3534852977
Author: Tambet Ingo <tambet gmail com>
Date: Tue Nov 10 15:56:55 2009 +0200
Fix a rebasing error.
src/nmn-serial-item.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/src/nmn-serial-item.c b/src/nmn-serial-item.c
index 85331c7..033741c 100644
--- a/src/nmn-serial-item.c
+++ b/src/nmn-serial-item.c
@@ -78,13 +78,11 @@ get_priority (NmnNetworkItem *item)
static gboolean
set_name (gpointer data)
{
- NMExportedConnection *exported;
- NMConnection *wrapped;
+ NMSettingsConnectionInterface *connection;
NMSettingConnection *s_con;
- exported = nmn_network_item_get_connection (NMN_NETWORK_ITEM (data));
- wrapped = nm_exported_connection_get_connection (exported);
- s_con = NM_SETTING_CONNECTION (nm_connection_get_setting (wrapped, NM_TYPE_SETTING_CONNECTION));
+ connection = nmn_network_item_get_connection (NMN_NETWORK_ITEM (data));
+ s_con = NM_SETTING_CONNECTION (nm_connection_get_setting (NM_CONNECTION (connection), NM_TYPE_SETTING_CONNECTION));
if (s_con)
nmn_item_set_name (NMN_ITEM (data), nm_setting_connection_get_id (s_con));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]