[network-manager-applet] core: fix crash when creating new connections selected from the applet menu
- From: Dan Williams <dcbw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [network-manager-applet] core: fix crash when creating new connections selected from the applet menu
- Date: Fri, 4 Sep 2009 20:00:19 +0000 (UTC)
commit 45a079467ff2eaeb271805427be3b7c932ab8ea4
Author: Dan Williams <dcbw redhat com>
Date: Fri Sep 4 15:00:45 2009 -0500
core: fix crash when creating new connections selected from the applet menu
'connection' isn't the actual exported connection if it's auto-created, and
thus doesn't have a path. Forgot to re-assign the newly exported connection
to connection during the system settings changes.
src/applet.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/applet.c b/src/applet.c
index e59946f..b354c68 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -340,6 +340,7 @@ applet_menu_item_activate_helper_part2 (NMConnection *connection,
return;
}
g_object_unref (connection);
+ connection = NM_CONNECTION (exported);
}
g_assert (connection);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]