cli: use nm_client_get_manager_running() instead of nmc_is_nm_running()

We now guarantee that NMClient won't dbus-activate NetworkManager so
there is no need for a custom function to prevent this.
This commit is contained in:
Dan Williams
2013-03-05 09:42:31 -06:00
parent 110a40358d
commit a829c0439d
5 changed files with 74 additions and 190 deletions

View File

@@ -39,7 +39,6 @@ void nmc_free_output_field_values (NmcOutputField fields_array[]);
GArray *parse_output_fields (const char *fields_str, const NmcOutputField fields_array[], GError **error);
gboolean nmc_terse_option_check (NMCPrintOutput print_output, const char *fields, GError **error);
void print_fields (const NmcPrintFields fields, const NmcOutputField field_values[]);
gboolean nmc_is_nm_running (NmCli *nmc, GError **error);
gboolean nmc_versions_match (NmCli *nmc);
#endif /* NMC_UTILS_H */