summaryrefslogtreecommitdiff
path: root/gtk/gtkentry.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-03-15 15:00:11 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-03-15 15:00:11 +0000
commit0e86016442117d8ababe9f6a5907a0d5edd5b47e (patch)
treed8733b7a8e0ed5b7840aa9cb82a249a233d6e0de /gtk/gtkentry.c
parent3fc42d7ab9602fc8f9e41c09de427f2e76950286 (diff)
downloadgdk-pixbuf-0e86016442117d8ababe9f6a5907a0d5edd5b47e.tar.gz
Document that inline completion requires text-column to be set.
2005-03-15 Matthias Clasen <mclasen@redhat.com> * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init): Document that inline completion requires text-column to be set. (gtk_entry_completion_compute_prefix): Return NULL if text-column is not set. * gtk/gtkentry.c (check_completion_callback): Call gtk_entry_completion_complete() before inserting the prefix, otherwise the prefix may depend on (random) state of the filter model.
Diffstat (limited to 'gtk/gtkentry.c')
-rw-r--r--gtk/gtkentry.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index b26cdda5d..0659e12bf 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -5200,6 +5200,7 @@ check_completion_callback (GtkEntryCompletion *completion)
{
completion->priv->check_completion_idle = NULL;
+ gtk_entry_completion_complete (completion);
gtk_entry_completion_insert_prefix (completion);
return FALSE;