Re: typo in API doc for g_key_file_get_double



Here's what I believe is the correct patch to current
svn to fix this with Rick's suggested wording.

- Bobby

--- Rick Jones <rick jones2 hp com> wrote:

> I was perusing the key file api doc while pondering
> if it would be 
> easier/better to use than XML for netperf4 and
> noticed the writeup for 
> g_key_file_get_double:
> 
>
<http://developer.gnome.org/doc/API/2.0/glib/glib-Key-value-file-parser.html#g-key-file-get-double>
> 
> has a minor typo in that it says "Returns the value
> associated with key 
> under group_name as an integer." and I suspect that
> was meant to be 
> "Returns the value associated with key under
> group_name as a double." 
> instead.
> 
> rick jones
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
> 


 
____________________________________________________________________________________
Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
Index: gkeyfile.c
===================================================================
--- gkeyfile.c	(revision 5401)
+++ gkeyfile.c	(working copy)
@@ -2182,8 +2182,8 @@
  * @key: a key
  * @error: return location for a #GError
  *
- * Returns the value associated with @key under @group_name as an
- * integer. If @group_name is %NULL, the start_group is used.
+ * Returns the value associated with @key under @group_name as a
+ * double. If @group_name is %NULL, the start_group is used.
  *
  * If @key cannot be found then the return value is undefined and
  * @error is set to #G_KEY_FILE_ERROR_KEY_NOT_FOUND. Likewise, if


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