| 1006 | } |
| 1007 | |
| 1008 | static void |
| 1009 | remove_config_file(const gchar *name) |
| 1010 | { |
| 1011 | gchar *config, *path; |
| 1012 | |
| 1013 | config = ghb_get_user_config_dir(NULL); |
| 1014 | path = g_strdup_printf ("%s/%s", config, name); |
| 1015 | if (g_file_test(path, G_FILE_TEST_IS_REGULAR)) |
| 1016 | { |
| 1017 | g_unlink(path); |
| 1018 | } |
| 1019 | g_free(path); |
| 1020 | g_free(config); |
| 1021 | } |
| 1022 | |
| 1023 | void |
| 1024 | ghb_pref_save(GhbValue *settings, const gchar *key) |
no test coverage detected