New function which works like g_completion_complete(), but strips a

Thu Feb  5 00:56:28 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/gcompletion.c (g_completion_complete_utf8): New function which
	works like g_completion_complete(), but strips a trailing incomplete
	UTF-8 character from the prefix.  (#133313, Theppitak Karoonboonyanan)

	* tests/completion-test.c (main): Some GCompletion tests.

	* tests/Makefile.am: Add completion-test.
This commit is contained in:
Matthias Clasen
2004-02-04 23:54:17 +00:00
committed by Matthias Clasen
parent 999a87a19a
commit dd394749f9
11 changed files with 184 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
Thu Feb 5 00:54:43 2004 Matthias Clasen <maclas@gmx.de>
* glib/glib-sections.txt: Add g_completion_complete_utf8.
Fri Jan 30 23:25:58 2004 Matthias Clasen <maclas@gmx.de>
* glib/tmpl/iochannels.sgml:

View File

@@ -1329,6 +1329,7 @@ g_completion_add_items
g_completion_remove_items
g_completion_clear_items
g_completion_complete
g_completion_complete_utf8
g_completion_set_compare
GCompletionStrncmpFunc
g_completion_free