MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / remove_config_file

Function remove_config_file

gtk/src/presets.c:1008–1021  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1006}
1007
1008static void
1009remove_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
1023void
1024ghb_pref_save(GhbValue *settings, const gchar *key)

Callers 1

Calls 1

ghb_get_user_config_dirFunction · 0.85

Tested by

no test coverage detected