remove a file in it - the directory presumably exists already, if you're
about to remove a file in it.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13914
f5534014-38df-0310-8fa8-
9805f1628bb7
gboolean
color_filters_revert(void)
{
- gchar *pf_dir_path;
gchar *path;
- /* Create the directory that holds personal configuration files,
- if necessary. */
- if (create_persconffile_dir(&pf_dir_path) == -1) {
- simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK,
- "Can't create directory\n\"%s\"\nfor color files: %s.",
- pf_dir_path, strerror(errno));
- g_free(pf_dir_path);
- return FALSE;
- }
-
path = get_persconffile_path("colorfilters", TRUE);
if (!deletefile(path)) {
g_free(path);