[gnac/devel] Escaped text to prevent warnings



commit 6f6a184fa4c218852098ce775500ee8a1b11a0f7
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]