gtk+ r21760 - in trunk: . gtk



Author: cdywan
Date: Wed Nov  5 14:27:33 2008
New Revision: 21760
URL: http://svn.gnome.org/viewvc/gtk+?rev=21760&view=rev

Log:
2008-11-05  Christian Dywan  <christian imendio com>

	Bug 559404 â gtk_editable_insert_text counts length in bytes

	* gtk/gtkeditable.c:
	Document new_text_length as the number of bytes

Modified:
   trunk/ChangeLog
   trunk/gtk/gtkeditable.c

Modified: trunk/gtk/gtkeditable.c
==============================================================================
--- trunk/gtk/gtkeditable.c	(original)
+++ trunk/gtk/gtkeditable.c	Wed Nov  5 14:27:33 2008
@@ -99,10 +99,10 @@
  * gtk_editable_insert_text:
  * @editable: a #GtkEditable
  * @new_text: the text to append
- * @new_text_length: the text to append
+ * @new_text_length: the length of the text in bytes, or -1
  * @position: position text will be inserted at
  *
- * Appends @new_text_length characters of @new_text to the contents of the widget,
+ * Appends @new_text_length bytes of @new_text to the contents of the widget,
  * at position @position. Note that this position is in characters, not in bytes.
  **/
 void



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