[gnome-control-center] network: allocate nm-connection for nma-wireless-dialog
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] network: allocate nm-connection for nma-wireless-dialog
- Date: Wed, 12 Oct 2011 14:36:25 +0000 (UTC)
commit 73b0fe159d3fb735c9be219b27059aed84ddb2b6
Author: Gary Ching-Pang Lin <chingpang gmail com>
Date: Thu Oct 6 12:16:59 2011 +0800
network: allocate nm-connection for nma-wireless-dialog
https://bugzilla.gnome.org/show_bug.cgi?id=648174
panels/network/network-dialogs.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/panels/network/network-dialogs.c b/panels/network/network-dialogs.c
index d446dbd..196c6ef 100644
--- a/panels/network/network-dialogs.c
+++ b/panels/network/network-dialogs.c
@@ -281,6 +281,8 @@ cc_network_panel_connect_to_8021x_network (CcNetworkPanel *panel,
return;
}
+ connection = nm_connection_new ();
+
/* Need a UUID for the "always ask" stuff in the Dialog of Doom */
s_con = (NMSettingConnection *) nm_setting_connection_new ();
uuid = nm_utils_uuid_generate ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]