mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 23:46:17 +01:00
Reintroduce g_file_contains_file, keep around for one unstable release
2008-02-25 Alexander Larsson <alexl@redhat.com> * gfile.c: Reintroduce g_file_contains_file, keep around for one unstable release cycle to avoid crashing to many apps. Make sure to delete after release. svn path=/trunk/; revision=6586
This commit is contained in:
parent
5d1de3eed1
commit
d8cd546812
@ -1,3 +1,10 @@
|
||||
2008-02-25 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gfile.c:
|
||||
Reintroduce g_file_contains_file, keep around for one
|
||||
unstable release cycle to avoid crashing to many apps.
|
||||
Make sure to delete after release.
|
||||
|
||||
2008-02-25 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gfile.[ch]:
|
||||
|
10
gio/gfile.c
10
gio/gfile.c
@ -669,6 +669,16 @@ g_file_get_child_for_display_name (GFile *file,
|
||||
return (* iface->get_child_for_display_name) (file, display_name, error);
|
||||
}
|
||||
|
||||
/* Temporary keep this symbol for one release */
|
||||
gboolean g_file_contains_file (GFile *parent, GFile *descendant);
|
||||
gboolean
|
||||
g_file_contains_file (GFile *parent,
|
||||
GFile *descendant)
|
||||
{
|
||||
/* This function is not in the header and will not be referenced by newly built code */
|
||||
return g_file_has_prefix (descendant, parent);
|
||||
}
|
||||
|
||||
/**
|
||||
* g_file_has_prefix:
|
||||
* @file: input #GFile.
|
||||
|
Loading…
Reference in New Issue
Block a user