Add prototype for g_completion_complete_utf8().

Wed Feb  4 17:58:51 2004  Manish Singh  <yosh@gimp.org>

        * glib/gcompletion.h: Add prototype for g_completion_complete_utf8().

        * tests/completion-test.c: #include <string.h>
This commit is contained in:
Manish Singh 2004-02-05 01:58:47 +00:00 committed by Manish Singh
parent 5889997512
commit bbf110839c
8 changed files with 54 additions and 13 deletions

View File

@ -1,3 +1,9 @@
Wed Feb 4 17:58:51 2004 Manish Singh <yosh@gimp.org>
* glib/gcompletion.h: Add prototype for g_completion_complete_utf8().
* tests/completion-test.c: #include <string.h>
2004-02-05 Tor Lillqvist <tml@iki.fi>
* glib/glib.def: Add g_completion_complete_utf8.

View File

@ -1,3 +1,9 @@
Wed Feb 4 17:58:51 2004 Manish Singh <yosh@gimp.org>
* glib/gcompletion.h: Add prototype for g_completion_complete_utf8().
* tests/completion-test.c: #include <string.h>
2004-02-05 Tor Lillqvist <tml@iki.fi>
* glib/glib.def: Add g_completion_complete_utf8.

View File

@ -1,3 +1,9 @@
Wed Feb 4 17:58:51 2004 Manish Singh <yosh@gimp.org>
* glib/gcompletion.h: Add prototype for g_completion_complete_utf8().
* tests/completion-test.c: #include <string.h>
2004-02-05 Tor Lillqvist <tml@iki.fi>
* glib/glib.def: Add g_completion_complete_utf8.

View File

@ -1,3 +1,9 @@
Wed Feb 4 17:58:51 2004 Manish Singh <yosh@gimp.org>
* glib/gcompletion.h: Add prototype for g_completion_complete_utf8().
* tests/completion-test.c: #include <string.h>
2004-02-05 Tor Lillqvist <tml@iki.fi>
* glib/glib.def: Add g_completion_complete_utf8.

View File

@ -1,3 +1,9 @@
Wed Feb 4 17:58:51 2004 Manish Singh <yosh@gimp.org>
* glib/gcompletion.h: Add prototype for g_completion_complete_utf8().
* tests/completion-test.c: #include <string.h>
2004-02-05 Tor Lillqvist <tml@iki.fi>
* glib/glib.def: Add g_completion_complete_utf8.

View File

@ -1,3 +1,9 @@
Wed Feb 4 17:58:51 2004 Manish Singh <yosh@gimp.org>
* glib/gcompletion.h: Add prototype for g_completion_complete_utf8().
* tests/completion-test.c: #include <string.h>
2004-02-05 Tor Lillqvist <tml@iki.fi>
* glib/glib.def: Add g_completion_complete_utf8.

View File

@ -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

View File

@ -23,7 +23,9 @@
* files for a list of changes. These files are distributed with
* GLib at ftp://ftp.gtk.org/pub/gtk/.
*/
#include <glib.h>
#include <string.h>
#include "glib.h"
int main (int argc, char *argv[])
{