From: Matthias Clasen Date: Tue, 28 Sep 2021 19:40:41 +0000 (-0400) Subject: entry: Clarify docs X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2^2~18 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1fa97e1808240b5350cc186e7b11535834175b8b;p=gtk4.git entry: Clarify docs Mention that max length is in characters. --- diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index e03127f134..2239d46cc5 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -2278,7 +2278,7 @@ gtk_entry_get_overwrite_mode (GtkEntry *entry) * Sets the maximum allowed length of the contents of the widget. * * If the current contents are longer than the given length, then - * they will be truncated to fit. + * they will be truncated to fit. The length is is in characters. * * This is equivalent to getting @entry's `GtkEntryBuffer` and * calling [method@Gtk.EntryBuffer.set_max_length] on it.