mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Include the backslash. Otherwise gtk_file_system_win32_path_to_uri()
2004-03-21 Tor Lillqvist <tml@iki.fi> * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_volume_get_base_path): Include the backslash. Otherwise gtk_file_system_win32_path_to_uri() returns NULL for a volume base path, as g_filename_to_uri() requires an absolute path, and just a drive letter and colon isn't. (#137543)
This commit is contained in:
parent
34afac3792
commit
46b3a1174d
@ -1,3 +1,11 @@
|
||||
2004-03-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c
|
||||
(gtk_file_system_win32_volume_get_base_path): Include the
|
||||
backslash. Otherwise gtk_file_system_win32_path_to_uri() returns
|
||||
NULL for a volume base path, as g_filename_to_uri() requires an
|
||||
absolute path, and just a drive letter and colon isn't. (#137543)
|
||||
|
||||
2004-03-20 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c : applied the undisputable and
|
||||
|
@ -1,3 +1,11 @@
|
||||
2004-03-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c
|
||||
(gtk_file_system_win32_volume_get_base_path): Include the
|
||||
backslash. Otherwise gtk_file_system_win32_path_to_uri() returns
|
||||
NULL for a volume base path, as g_filename_to_uri() requires an
|
||||
absolute path, and just a drive letter and colon isn't. (#137543)
|
||||
|
||||
2004-03-20 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c : applied the undisputable and
|
||||
|
@ -1,3 +1,11 @@
|
||||
2004-03-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c
|
||||
(gtk_file_system_win32_volume_get_base_path): Include the
|
||||
backslash. Otherwise gtk_file_system_win32_path_to_uri() returns
|
||||
NULL for a volume base path, as g_filename_to_uri() requires an
|
||||
absolute path, and just a drive letter and colon isn't. (#137543)
|
||||
|
||||
2004-03-20 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c : applied the undisputable and
|
||||
|
@ -1,3 +1,11 @@
|
||||
2004-03-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c
|
||||
(gtk_file_system_win32_volume_get_base_path): Include the
|
||||
backslash. Otherwise gtk_file_system_win32_path_to_uri() returns
|
||||
NULL for a volume base path, as g_filename_to_uri() requires an
|
||||
absolute path, and just a drive letter and colon isn't. (#137543)
|
||||
|
||||
2004-03-20 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c : applied the undisputable and
|
||||
|
@ -1,3 +1,11 @@
|
||||
2004-03-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c
|
||||
(gtk_file_system_win32_volume_get_base_path): Include the
|
||||
backslash. Otherwise gtk_file_system_win32_path_to_uri() returns
|
||||
NULL for a volume base path, as g_filename_to_uri() requires an
|
||||
absolute path, and just a drive letter and colon isn't. (#137543)
|
||||
|
||||
2004-03-20 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c : applied the undisputable and
|
||||
|
@ -396,7 +396,7 @@ static GtkFilePath *
|
||||
gtk_file_system_win32_volume_get_base_path (GtkFileSystem *file_system,
|
||||
GtkFileSystemVolume *volume)
|
||||
{
|
||||
return (GtkFilePath *) g_strndup (volume->drive, 2);
|
||||
return (GtkFilePath *) g_strdup (volume->drive);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
Loading…
Reference in New Issue
Block a user