From bbf110839c576d3484aca61e146961251240f324 Mon Sep 17 00:00:00 2001 From: Manish Singh Date: Thu, 5 Feb 2004 01:58:47 +0000 Subject: [PATCH] Add prototype for g_completion_complete_utf8(). Wed Feb 4 17:58:51 2004 Manish Singh * glib/gcompletion.h: Add prototype for g_completion_complete_utf8(). * tests/completion-test.c: #include --- ChangeLog | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ ChangeLog.pre-2-12 | 6 ++++++ ChangeLog.pre-2-4 | 6 ++++++ ChangeLog.pre-2-6 | 6 ++++++ ChangeLog.pre-2-8 | 6 ++++++ glib/gcompletion.h | 27 +++++++++++++++------------ tests/completion-test.c | 4 +++- 8 files changed, 54 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index a7e02d7..0cc50ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Wed Feb 4 17:58:51 2004 Manish Singh + + * glib/gcompletion.h: Add prototype for g_completion_complete_utf8(). + + * tests/completion-test.c: #include + 2004-02-05 Tor Lillqvist * glib/glib.def: Add g_completion_complete_utf8. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index a7e02d7..0cc50ca 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +Wed Feb 4 17:58:51 2004 Manish Singh + + * glib/gcompletion.h: Add prototype for g_completion_complete_utf8(). + + * tests/completion-test.c: #include + 2004-02-05 Tor Lillqvist * glib/glib.def: Add g_completion_complete_utf8. diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index a7e02d7..0cc50ca 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,9 @@ +Wed Feb 4 17:58:51 2004 Manish Singh + + * glib/gcompletion.h: Add prototype for g_completion_complete_utf8(). + + * tests/completion-test.c: #include + 2004-02-05 Tor Lillqvist * glib/glib.def: Add g_completion_complete_utf8. diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index a7e02d7..0cc50ca 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +Wed Feb 4 17:58:51 2004 Manish Singh + + * glib/gcompletion.h: Add prototype for g_completion_complete_utf8(). + + * tests/completion-test.c: #include + 2004-02-05 Tor Lillqvist * glib/glib.def: Add g_completion_complete_utf8. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index a7e02d7..0cc50ca 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +Wed Feb 4 17:58:51 2004 Manish Singh + + * glib/gcompletion.h: Add prototype for g_completion_complete_utf8(). + + * tests/completion-test.c: #include + 2004-02-05 Tor Lillqvist * glib/glib.def: Add g_completion_complete_utf8. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index a7e02d7..0cc50ca 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +Wed Feb 4 17:58:51 2004 Manish Singh + + * glib/gcompletion.h: Add prototype for g_completion_complete_utf8(). + + * tests/completion-test.c: #include + 2004-02-05 Tor Lillqvist * glib/glib.def: Add g_completion_complete_utf8. diff --git a/glib/gcompletion.h b/glib/gcompletion.h index 0a48e73..8adb231 100644 --- a/glib/gcompletion.h +++ b/glib/gcompletion.h @@ -52,18 +52,21 @@ struct _GCompletion GCompletionStrncmpFunc strncmp_func; }; -GCompletion* g_completion_new (GCompletionFunc func); -void g_completion_add_items (GCompletion* cmp, - GList* items); -void g_completion_remove_items (GCompletion* cmp, - GList* items); -void g_completion_clear_items (GCompletion* cmp); -GList* g_completion_complete (GCompletion* cmp, - const gchar* prefix, - gchar** new_prefix); -void g_completion_set_compare (GCompletion *cmp, - GCompletionStrncmpFunc strncmp_func); -void g_completion_free (GCompletion* cmp); +GCompletion* g_completion_new (GCompletionFunc func); +void g_completion_add_items (GCompletion* cmp, + GList* items); +void g_completion_remove_items (GCompletion* cmp, + GList* items); +void g_completion_clear_items (GCompletion* cmp); +GList* g_completion_complete (GCompletion* cmp, + const gchar* prefix, + gchar** new_prefix); +GList* g_completion_complete_utf8 (GCompletion *cmp, + const gchar* prefix, + gchar** new_prefix); +void g_completion_set_compare (GCompletion *cmp, + GCompletionStrncmpFunc strncmp_func); +void g_completion_free (GCompletion* cmp); G_END_DECLS diff --git a/tests/completion-test.c b/tests/completion-test.c index 8805366..50cfc95 100644 --- a/tests/completion-test.c +++ b/tests/completion-test.c @@ -23,7 +23,9 @@ * files for a list of changes. These files are distributed with * GLib at ftp://ftp.gtk.org/pub/gtk/. */ -#include +#include + +#include "glib.h" int main (int argc, char *argv[]) { -- 2.7.4