summaryrefslogtreecommitdiff
path: root/src/settings/plugins/example/plugin.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-01-06 20:16:10 +0100
committerThomas Haller <thaller@redhat.com>2015-02-03 13:01:53 +0100
commit56f5fba72353e55db554c359af00376d3959009d (patch)
tree097f53c4b4310c3d760119faa5e79c04b5497877 /src/settings/plugins/example/plugin.c
parent699b12ddc9ca502ad75077722d4af4f675377b40 (diff)
downloadNetworkManager-56f5fba72353e55db554c359af00376d3959009d.tar.gz
config: move main_file and description to NMConfigData
Every reload might change the main_file and description. Move those properties to NMConfigData.
Diffstat (limited to 'src/settings/plugins/example/plugin.c')
-rw-r--r--src/settings/plugins/example/plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings/plugins/example/plugin.c b/src/settings/plugins/example/plugin.c
index b93b1dfb46..0bcb38fcf3 100644
--- a/src/settings/plugins/example/plugin.c
+++ b/src/settings/plugins/example/plugin.c
@@ -847,7 +847,7 @@ nm_system_config_factory (void)
priv = SC_PLUGIN_EXAMPLE_GET_PRIVATE (singleton);
/* Cache the config file path */
- priv->conf_file = nm_config_get_config_main_file (nm_config_get ());
+ priv->conf_file = nm_config_data_get_config_main_file (nm_config_get_data (nm_config_get ()));
} else {
/* This function should never be called twice */
g_assert_not_reached ();