[gnome-color-manager] Sanitise the basename in GcmCalibrate when set. Fixes #605348
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] Sanitise the basename in GcmCalibrate when set. Fixes #605348
- Date: Mon, 28 Dec 2009 10:30:40 +0000 (UTC)
commit 2cf69d812cbf4654996ee918e53ed3ba181bab56
Author: Richard Hughes <richard hughsie com>
Date: Mon Dec 28 10:30:08 2009 +0000
Sanitise the basename in GcmCalibrate when set. Fixes #605348
src/gcm-calibrate.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gcm-calibrate.c b/src/gcm-calibrate.c
index b32a9a7..a1e5ee2 100644
--- a/src/gcm-calibrate.c
+++ b/src/gcm-calibrate.c
@@ -362,6 +362,7 @@ gcm_calibrate_set_property (GObject *object, guint prop_id, const GValue *value,
case PROP_BASENAME:
g_free (priv->basename);
priv->basename = g_strdup (g_value_get_string (value));
+ gcm_utils_ensure_sensible_filename (priv->basename);
break;
case PROP_MODEL:
g_free (priv->model);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]