Implement as empty, returning FALSE, on Win32.

2008-03-12  Tor Lillqvist  <tml@novell.com>

	* glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
	returning FALSE, on Win32.


svn path=/trunk/; revision=6689
This commit is contained in:
Tor Lillqvist 2008-03-12 13:16:54 +00:00 committed by Tor Lillqvist
parent 2e345c7366
commit 5fe2e21960
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-03-12 Tor Lillqvist <tml@novell.com>
* glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
returning FALSE, on Win32.
2008-03-11 Alexander Larsson <alexl@redhat.com>
* glocalfile.c:

View File

@ -1917,6 +1917,12 @@ g_local_file_trash (GFile *file,
return TRUE;
}
#else /* G_OS_WIN32 */
gboolean
_g_local_file_has_trash_dir (const char *dirname, dev_t dir_dev)
{
return FALSE; /* XXX ??? */
}
static gboolean
g_local_file_trash (GFile *file,
GCancellable *cancellable,