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
This commit is contained in:
Alexander Larsson
2008-02-21 09:09:59 +00:00
committed by Alexander Larsson
parent 03c51e95a7
commit 6dc9b7ee00
7 changed files with 77 additions and 31 deletions

View File

@@ -230,7 +230,7 @@ g_file_get_parse_name
g_file_get_parent
g_file_get_child
g_file_get_child_for_display_name
g_file_contains_file
g_file_has_prefix
g_file_get_relative_path
g_file_resolve_relative_path
g_file_is_native