diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-12-13 23:18:03 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-12-13 23:18:03 +0000 |
commit | 73b15ba391b3a533786e2a2f4f80274b80866822 (patch) | |
tree | 818fcfa22f617b7b5e1bdfe61980b7beb2e07f2d /gtk/gtkprivate.h | |
parent | 8c22e8065e52a3d3d2c1157b0e5d5c827557debc (diff) | |
download | gtk+-73b15ba391b3a533786e2a2f4f80274b80866822.tar.gz |
System fnmatch wasn't going to be UTF-8 clean, neither was our version.
Fri Dec 13 17:45:40 2002 Owen Taylor <otaylor@redhat.com>
* gtk/fnmatch.c gtk/gtkprivate.h gtk/gtkfilesel.c:
System fnmatch wasn't going to be UTF-8 clean, neither
was our version. Redo our fnmatch.c to be UTF-8, add
test cases, fix all sorts of bugs inherited
from the antique GNU fnmatch code. Change interface
to get rid of fnmatch.h constants. Fixes basic
non-workingness of filesel with non-ASCII filenames.
* gtk/fnmatch.h: No longer needed.
Diffstat (limited to 'gtk/gtkprivate.h')
-rw-r--r-- | gtk/gtkprivate.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkprivate.h b/gtk/gtkprivate.h index 86935ee1bb..c42c26f05c 100644 --- a/gtk/gtkprivate.h +++ b/gtk/gtkprivate.h @@ -96,6 +96,9 @@ const gchar *_gtk_get_data_prefix (); #endif /* G_OS_WIN32 */ +gboolean _gtk_fnmatch (const char *pattern, + const char *string); + #ifdef __cplusplus } #endif /* __cplusplus */ |