From c1f29e3b6ceabc13c8b29dc06b412d61edce7790 Mon Sep 17 00:00:00 2001 From: Wouter Bolsterlee Date: Tue, 4 Mar 2008 20:21:38 +0000 Subject: Fix build with latest glib. svn path=/trunk/; revision=8030 --- lib/ephy-file-helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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; } -- cgit v1.2.3