diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-12-31 00:29:09 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-12-31 00:29:09 +0000 |
commit | 1d182e4fcc37b97ebc379c7255f24b4dd49412ed (patch) | |
tree | 10aa570a860d5dc60c779a4a19f1ebca1a3b0304 /color_filters.c | |
parent | 6e622fd24edc8a6532d58dea8cdf8e6a5ec313f4 (diff) |
"get_persconffile_path()" doesn't return a "const char *", it just
returns a "char *", so don't assign its return value to a "const char *".
svn path=/trunk/; revision=12882
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(); |