From 036c8393a61065cef0676a2397ab67b56d6126d6 Mon Sep 17 00:00:00 2001 From: Chris Lord Date: Thu, 5 Jun 2008 10:05:01 +0000 Subject: [PATCH] * clutter/clutter-entry.c: Correct the documentation for clutter_entry_set_max_length, fixes bug #915. --- ChangeLog | 6 ++++++ clutter/clutter-entry.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9f337fdb9..19fdc2966 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-06-05 Chris Lord + + * clutter/clutter-entry.c: + Correct the documentation for clutter_entry_set_max_length, fixes bug + #915. + 2008-06-04 Robert Bragg * tests/test-clip.c: diff --git a/clutter/clutter-entry.c b/clutter/clutter-entry.c index 1a79da348..6ec189fda 100644 --- a/clutter/clutter-entry.c +++ b/clutter/clutter-entry.c @@ -1706,8 +1706,8 @@ clutter_entry_get_invisible_char (ClutterEntry *entry) /** * clutter_entry_set_max_length: * @entry: a #ClutterEntry - * @max: the maximum number of characters allowed in the entry, or -1 - * to disable + * @max: the maximum number of characters allowed in the entry; 0 + * 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 * current contents are longer than the given length, then they will be