From 33491bc4279481db8ae47213e34a6d695a0e8830 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sun, 6 Jul 2014 02:16:10 +0200 Subject: Imported Upstream version 0.9.10.0 --- src/settings/plugins/example/nm-example-connection.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/settings/plugins/example/nm-example-connection.c') diff --git a/src/settings/plugins/example/nm-example-connection.c b/src/settings/plugins/example/nm-example-connection.c index e4a69f9b..e2226829 100644 --- a/src/settings/plugins/example/nm-example-connection.c +++ b/src/settings/plugins/example/nm-example-connection.c @@ -71,16 +71,16 @@ nm_example_connection_new (const char *full_path, /* Actually create the new NMExampleConnection object */ object = (GObject *) g_object_new (NM_TYPE_EXAMPLE_CONNECTION, NULL); - if (!object) - goto out; - priv = NM_EXAMPLE_CONNECTION_GET_PRIVATE (object); priv->path = g_strdup (full_path); /* Update our settings with what was read from the file or what got passed * in as a source NMConnection. */ - if (!nm_settings_connection_replace_settings (NM_SETTINGS_CONNECTION (object), tmp, error)) { + if (!nm_settings_connection_replace_settings (NM_SETTINGS_CONNECTION (object), + tmp, + TRUE, + error)) { g_object_unref (object); object = NULL; goto out; -- cgit 1.3.0-6-gf8a5