glib r7849 - trunk/gio
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r7849 - trunk/gio
- Date: Wed, 4 Feb 2009 08:01:42 +0000 (UTC)
Author: alexl
Date: Wed Feb 4 08:01:42 2009
New Revision: 7849
URL: http://svn.gnome.org/viewvc/glib?rev=7849&view=rev
Log:
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().
Modified:
trunk/gio/ChangeLog
trunk/gio/gdummyfile.c
Modified: trunk/gio/gdummyfile.c
==============================================================================
--- trunk/gio/gdummyfile.c (original)
+++ trunk/gio/gdummyfile.c Wed Feb 4 08:01:42 2009
@@ -144,10 +144,6 @@
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]