* clutter/clutter-entry.c:

Correct the documentation for clutter_entry_set_max_length, fixes bug
        #915.
This commit is contained in:
Chris Lord 2008-06-05 10:05:01 +00:00
parent 1be042189f
commit 036c8393a6
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2008-06-05 Chris Lord <chris@openedhand.com>
* clutter/clutter-entry.c:
Correct the documentation for clutter_entry_set_max_length, fixes bug
#915.
2008-06-04 Robert Bragg <bob@o-hand.com> 2008-06-04 Robert Bragg <bob@o-hand.com>
* tests/test-clip.c: * tests/test-clip.c:

View File

@ -1706,8 +1706,8 @@ clutter_entry_get_invisible_char (ClutterEntry *entry)
/** /**
* clutter_entry_set_max_length: * clutter_entry_set_max_length:
* @entry: a #ClutterEntry * @entry: a #ClutterEntry
* @max: the maximum number of characters allowed in the entry, or -1 * @max: the maximum number of characters allowed in the entry; 0
* to disable * to disable or -1 to set the length of the current string
* *
* Sets the maximum allowed length of the contents of the actor. If the * Sets the maximum allowed length of the contents of the actor. If the
* current contents are longer than the given length, then they will be * current contents are longer than the given length, then they will be