aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorWouter Bolsterlee <wbolster@src.gnome.org>2008-03-05 04:21:38 +0800
committerWouter Bolsterlee <wbolster@src.gnome.org>2008-03-05 04:21:38 +0800
commitc1f29e3b6ceabc13c8b29dc06b412d61edce7790 (patch)
tree55a242f29955b4aec3a3fa7b7f87e5996dcb1b93 /lib
parentfc08c288043103ec01a409ed20269807290ba0f1 (diff)
downloadgsoc2013-epiphany-c1f29e3b6ceabc13c8b29dc06b412d61edce7790.tar
gsoc2013-epiphany-c1f29e3b6ceabc13c8b29dc06b412d61edce7790.tar.gz
gsoc2013-epiphany-c1f29e3b6ceabc13c8b29dc06b412d61edce7790.tar.bz2
gsoc2013-epiphany-c1f29e3b6ceabc13c8b29dc06b412d61edce7790.tar.lz
gsoc2013-epiphany-c1f29e3b6ceabc13c8b29dc06b412d61edce7790.tar.xz
gsoc2013-epiphany-c1f29e3b6ceabc13c8b29dc06b412d61edce7790.tar.zst
gsoc2013-epiphany-c1f29e3b6ceabc13c8b29dc06b412d61edce7790.zip
Fix build with latest glib.
svn path=/trunk/; revision=8030
Diffstat (limited to 'lib')
-rw-r--r--lib/ephy-file-helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c
index 79885bd59..a2853fb7d 100644
--- a/lib/ephy-file-helpers.c
+++ b/lib/ephy-file-helpers.c
@@ -713,7 +713,7 @@ ephy_file_browse_to (GFile *file,
desktop = g_file_new_for_path (desktop_dir);
/* Don't do anything if destination is the desktop */
- if (g_file_contains_file (desktop, file))
+ if (g_file_has_prefix (file, desktop))
{
ret = FALSE;
}