glib r7705 - in trunk: . glib



Author: matthiasc
Date: Fri Nov 28 21:22:21 2008
New Revision: 7705
URL: http://svn.gnome.org/viewvc/glib?rev=7705&view=rev

Log:
        * glib/gkeyfile.c (g_key_file_get_string): Explain the difference
        to g_key_file_get_value(). Pointed out by Mart Raudsepp.




Modified:
   trunk/ChangeLog
   trunk/glib/gkeyfile.c

Modified: trunk/glib/gkeyfile.c
==============================================================================
--- trunk/glib/gkeyfile.c	(original)
+++ trunk/glib/gkeyfile.c	Fri Nov 28 21:22:21 2008
@@ -1343,7 +1343,9 @@
  * @key: a key
  * @error: return location for a #GError, or %NULL
  *
- * Returns the value associated with @key under @group_name.  
+ * Returns the string value associated with @key under @group_name.
+ * Unlike g_key_file_get_value(), this function handled escape sequences
+ * like \s.
  *
  * In the event the key cannot be found, %NULL is returned and 
  * @error is set to #G_KEY_FILE_ERROR_KEY_NOT_FOUND.  In the 



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