LarsGit223 commented on this pull request.
contents = g_key_file_to_data (kf, &length, error);
+ g_key_file_free(kf); + + /* Save to file */ + success = g_file_set_contents (prj->filename, contents, length, error); + if (success) + { + prj->modified = FALSE; + } + g_free (contents); + } + else if (error != NULL) + { + g_set_error (error, 0, 0, + "Internal error: param missing (file: %s, line %d)", + __FILE__, __LINE__);
Done.