mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Handle the returned parent_path being NULL. Fixes #136662.
2004-03-09 Federico Mena Quintero <federico@ximian.com> * gtk/gtkfilechooserdefault.c (get_file_info): Handle the returned parent_path being NULL. Fixes #136662.
This commit is contained in:
parent
ace5e30238
commit
22bc71a667
@ -1,3 +1,8 @@
|
||||
2004-03-09 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (get_file_info): Handle the returned
|
||||
parent_path being NULL. Fixes #136662.
|
||||
|
||||
2004-03-09 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (shortcuts_drag_data_received_cb):
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-03-09 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (get_file_info): Handle the returned
|
||||
parent_path being NULL. Fixes #136662.
|
||||
|
||||
2004-03-09 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (shortcuts_drag_data_received_cb):
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-03-09 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (get_file_info): Handle the returned
|
||||
parent_path being NULL. Fixes #136662.
|
||||
|
||||
2004-03-09 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (shortcuts_drag_data_received_cb):
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-03-09 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (get_file_info): Handle the returned
|
||||
parent_path being NULL. Fixes #136662.
|
||||
|
||||
2004-03-09 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (shortcuts_drag_data_received_cb):
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-03-09 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (get_file_info): Handle the returned
|
||||
parent_path being NULL. Fixes #136662.
|
||||
|
||||
2004-03-09 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (shortcuts_drag_data_received_cb):
|
||||
|
@ -757,10 +757,12 @@ get_file_info (GtkFileSystem *file_system, const GtkFilePath *path, gboolean nam
|
||||
GtkFileFolder *parent_folder;
|
||||
GtkFileInfo *info;
|
||||
|
||||
info = NULL;
|
||||
|
||||
if (!gtk_file_system_get_parent (file_system, path, &parent_path, error))
|
||||
return NULL;
|
||||
|
||||
parent_folder = gtk_file_system_get_folder (file_system, parent_path,
|
||||
parent_folder = gtk_file_system_get_folder (file_system, parent_path ? parent_path : path,
|
||||
GTK_FILE_INFO_DISPLAY_NAME
|
||||
#if 0
|
||||
| GTK_FILE_INFO_ICON
|
||||
|
Loading…
Reference in New Issue
Block a user