Add new g_file_has_prefix that does the same as g_file_contains_file.
authorAlexander Larsson <alexl@redhat.com>
Thu, 21 Feb 2008 09:09:59 +0000 (09:09 +0000)
committerAlexander Larsson <alexl@src.gnome.org>
Thu, 21 Feb 2008 09:09:59 +0000 (09:09 +0000)
commit6dc9b7ee0050c03e069d026c2c83136547a7d343
tree3a6dc53bc3b2e256758743bfc7b80add143647a9
parent03c51e95a7b6b4c53fe53bda761398a06d52d4af
Add new g_file_has_prefix that does the same as g_file_contains_file.

2008-02-21  Alexander Larsson  <alexl@redhat.com>

        * gfile.[ch]:
        * gio.symbols:
Add new g_file_has_prefix that does the same as g_file_contains_file.
Deprecate g_file_contains_file and add a macro that converts
it to g_file_has_prefix.
The reason for this change is that the contains_file() name seems to
imply that this does more work than what it does, but its really only
a name match (from #517086)

        * gdummyfile.c:
        * glocalfile.c:
        * tests/g-file.c:
Update to match the above change.

svn path=/trunk/; revision=6546
gio/ChangeLog
gio/gdummyfile.c
gio/gfile.c
gio/gfile.h
gio/gio.symbols
gio/glocalfile.c
gio/tests/g-file.c