From a8a097c08f3f0aa3a5308aa32b7b487aa21d47a1 Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Tue, 20 Sep 2005 15:20:11 +0000 Subject: [PATCH] Mention NULL in documentation. * gtk/gtkentry.c (gtk_entry_set_completion): Mention NULL in documentation. --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ gtk/gtkentry.c | 5 +++-- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index fcba1e8cfc..eff625e500 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-09-20 Johan Dahlin + + * gtk/gtkentry.c (gtk_entry_set_completion): Mention NULL in + documentation. + 2005-09-20 Tor Lillqvist * gdk/win32/gdkselection-win32.c diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index fcba1e8cfc..eff625e500 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2005-09-20 Johan Dahlin + + * gtk/gtkentry.c (gtk_entry_set_completion): Mention NULL in + documentation. + 2005-09-20 Tor Lillqvist * gdk/win32/gdkselection-win32.c diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index 435a40b6f8..de4d8139a5 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -5399,11 +5399,12 @@ connect_completion_signals (GtkEntry *entry, /** * gtk_entry_set_completion: * @entry: A #GtkEntry. - * @completion: The #GtkEntryCompletion. + * @completion: The #GtkEntryCompletion or %NULL. * * Sets @completion to be the auxiliary completion object to use with @entry. * All further configuration of the completion mechanism is done on - * @completion using the #GtkEntryCompletion API. + * @completion using the #GtkEntryCompletion API. Completion is disabled if + * @completion is set to %NULL. * * Since: 2.4 */