[gnac] Escaped text to prevent warnings



commit 581bf5b4963314882b9db82522583cfd7fa9971a
Author: Benoît Dupasquier <bdupasqu src gnome org>
Date:   Fri May 28 17:48:33 2010 +0100

    Escaped text to prevent warnings

 src/gnac-properties.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnac-properties.c b/src/gnac-properties.c
index 98d0d34..e1e7588 100644
--- a/src/gnac-properties.c
+++ b/src/gnac-properties.c
@@ -384,7 +384,7 @@ gnac_properties_get_property_from_value(const gchar  *name,
            LIBGNAC_METADATA_TAG_IS_TRACK_PEAK(name) ||
            LIBGNAC_METADATA_TAG_IS_MODE(name))
   {
-    return g_value_dup_string(value);
+    return g_markup_escape_text(g_value_get_string(value), -1);
   }
   return NULL;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]