Lines Matching refs:system_file
157 gchar *system_file;
351 conf->priv->system_file = NULL;
597 (is_system && !unique_instance->priv->system_file)) {
652 else if (is_system && unique_instance->priv->system_file) {
653 if (xmlSaveFormatFile (unique_instance->priv->system_file, doc, TRUE) == -1)
654 … gda_log_error ("Error saving config data to '%s'", unique_instance->priv->system_file);
791 unique_instance->priv->system_file = gda_gbr_get_file_path (GDA_ETC_DIR,
794 if (unique_instance->priv->system_file) {
798 … file = fopen (unique_instance->priv->system_file, "a"); /* Flawfinder: ignore */
805 if (stat (unique_instance->priv->system_file, &stbuf) == 0) {
837 if (unique_instance->priv->system_file) {
839 gf = g_file_new_for_path (unique_instance->priv->system_file);
848 if (unique_instance->priv->system_file)
849 load_config_file (unique_instance->priv->system_file, TRUE);
868 g_free (conf->priv->system_file);
957 if ((cstr && conf->priv->system_file &&
958 !strcmp (cstr, conf->priv->system_file)) ||
959 (! cstr && !conf->priv->system_file)) {
963 g_free (conf->priv->system_file);
964 conf->priv->system_file = NULL;
966 conf->priv->system_file = g_strdup (cstr);
991 g_value_set_string (value, conf->priv->system_file);
2060 if (unique_instance->priv->system_file)
2061 load_config_file (unique_instance->priv->system_file, TRUE);