@LarsGit223 commented on this pull request.
> + { + g_free (bookmarks_strings[index]); + } + g_free(bookmarks_strings); + } + + /* Save projects data */ + for (index = 0 ; index < wb->projects->len ; index++) + { + entry = g_ptr_array_index(wb->projects, index); + g_snprintf(group, sizeof(group), "Project-%u", (index+1)); + g_key_file_set_string(kf, group, "AbsFilename", entry->abs_filename); + g_key_file_set_string(kf, group, "RelFilename", entry->rel_filename); + g_key_file_set_boolean(kf, group, "UseAbsFilename", entry->use_abs); + } + contents = g_key_file_to_data (kf, &length, error);
According to the documentation "g_key_file_to_data()" never returns an error. That's kind of weird. I check the result anyway now and so error will not be re-used.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.