diff options
Diffstat (limited to 'color_filters.c')
-rw-r--r-- | color_filters.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/color_filters.c b/color_filters.c index f5637ee034..6382cef405 100644 --- a/color_filters.c +++ b/color_filters.c @@ -445,7 +445,7 @@ gboolean revert_filters(void) { gchar *pf_dir_path; - const gchar *path; + gchar *path; /* Create the directory that holds personal configuration files, if necessary. */ @@ -459,11 +459,11 @@ revert_filters(void) path = get_persconffile_path("colorfilters", TRUE); if (!deletefile(path)) { - g_free((gchar *)path); + g_free(path); return FALSE; } - g_free((gchar *)path); + g_free(path); /* Reload the (global) filters - Note: this does not update the dialog. */ colfilter_init(); |