Bug 566747 - URIs opened with firefox %u load as local files
authorAlexander Larsson <alexl@redhat.com>
Wed, 4 Feb 2009 08:01:42 +0000 (08:01 +0000)
committerAlexander Larsson <alexl@src.gnome.org>
Wed, 4 Feb 2009 08:01:42 +0000 (08:01 +0000)
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

gio/ChangeLog
gio/gdummyfile.c

index 321f75a14a0c5701e7f0039583c2d5f250e59c0d..8112ce2b18a551272111e4a63aad71257948c2a4 100644 (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 ===
index 6a5883fa3d4399bf08ced5ea28597a4b0698aae4..1033b4ef79282bfdebab81c0b24d44d0b6ae6950 100644 (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;
 }