[network-manager-applet/lr/import] fixup! editor: add --import command line argument
- From: Lubomir Rintel <lkundrak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet/lr/import] fixup! editor: add --import command line argument
- Date: Mon, 7 Nov 2016 19:40:22 +0000 (UTC)
commit c5dde9a9eb1fad20eaeeabfcacfcdf3bae4d8754
Author: Lubomir Rintel <lkundrak v3 sk>
Date: Mon Nov 7 18:26:16 2016 +0100
fixup! editor: add --import command line argument
src/connection-editor/main.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/connection-editor/main.c b/src/connection-editor/main.c
index 2a9b652..60b2236 100644
--- a/src/connection-editor/main.c
+++ b/src/connection-editor/main.c
@@ -111,8 +111,8 @@ handle_arguments (NMConnectionList *list,
g_idle_add (idle_create_connection, list);
g_object_set_data (G_OBJECT (list), "nm-connection-editor-ctype",
GSIZE_TO_POINTER (NM_TYPE_SETTING_VPN));
- g_object_set_data (G_OBJECT (list), "nm-connection-editor-connection",
- connection);
+ g_object_set_data_full (G_OBJECT (list), "nm-connection-editor-connection",
+ nm_g_object_ref (connection), nm_g_object_unref);
show_list = FALSE;
} else if (edit_uuid) {
/* Show the edit dialog for the given UUID */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]