mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-28 01:57:14 +02:00
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:
committed by
Alexander Larsson
parent
40dd05a208
commit
cefebf7ff2
@@ -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>
|
2009-02-02 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* === Released 2.19.6 ===
|
* === Released 2.19.6 ===
|
||||||
|
@@ -144,10 +144,6 @@ g_dummy_file_get_basename (GFile *file)
|
|||||||
static char *
|
static char *
|
||||||
g_dummy_file_get_path (GFile *file)
|
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;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user