Bug 566747 - URIs opened with firefox %u load as local files

2009-02-04  Alexander Larsson  <alexl@redhat.com>

	Bug 566747 - URIs opened with firefox %u load as local files

	* gdummyfile.c (g_dummy_file_get_path):
	Dummy files are never used for local paths, so always return NULL
	in get_path(). 


svn path=/trunk/; revision=7849
This commit is contained in:
Alexander Larsson 2009-02-04 08:01:42 +00:00 committed by Alexander Larsson
parent 40dd05a208
commit cefebf7ff2
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2009-02-04 Alexander Larsson <alexl@redhat.com>
Bug 566747 - URIs opened with firefox %u load as local files
* gdummyfile.c (g_dummy_file_get_path):
Dummy files are never used for local paths, so always return NULL
in get_path().
2009-02-02 Matthias Clasen <mclasen@redhat.com>
* === Released 2.19.6 ===

View File

@ -144,10 +144,6 @@ g_dummy_file_get_basename (GFile *file)
static char *
g_dummy_file_get_path (GFile *file)
{
GDummyFile *dummy = G_DUMMY_FILE (file);
if (dummy->decoded_uri)
return g_strdup (dummy->decoded_uri->path);
return NULL;
}