diff options
author | Benjamin Otte <otte@redhat.com> | 2011-11-05 20:38:28 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-12-16 20:09:12 +0100 |
commit | fc775dfa5be74efba4cee9a80f67a802e9c98121 (patch) | |
tree | 5934f2ff57fba4b227458dee1b1e32858baacc3f /gtk/gtkentrycompletion.h | |
parent | 1ac6ace87d904da1672e7bae01cf1d16e509accb (diff) | |
download | gtk+-fc775dfa5be74efba4cee9a80f67a802e9c98121.tar.gz |
entrycompletion: Export gtk_entry_completion_compute_prefix()
I want to use it in the file chooser entry autocomplete code.
Diffstat (limited to 'gtk/gtkentrycompletion.h')
-rw-r--r-- | gtk/gtkentrycompletion.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkentrycompletion.h b/gtk/gtkentrycompletion.h index 368b944342..0b19e6dcaf 100644 --- a/gtk/gtkentrycompletion.h +++ b/gtk/gtkentrycompletion.h @@ -114,6 +114,8 @@ void gtk_entry_completion_set_match_func (GtkEntryComplet void gtk_entry_completion_set_minimum_key_length (GtkEntryCompletion *completion, gint length); gint gtk_entry_completion_get_minimum_key_length (GtkEntryCompletion *completion); +gchar * gtk_entry_completion_compute_prefix (GtkEntryCompletion *completion, + const char *key); void gtk_entry_completion_complete (GtkEntryCompletion *completion); void gtk_entry_completion_insert_prefix (GtkEntryCompletion *completion); |