+2005-08-11 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkfilechooserdefault.c: Work around some problems
+ with the gnome-vfs backends which could lead to crashes
+ in the bookmark handling. (#310270, Diego Gonzalez, patch
+ by Michael Meeks)
+
2005-08-11 Kristian Rietveld <kris@gtk.org>
Fix for #312924, by John Finlay.
+2005-08-11 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkfilechooserdefault.c: Work around some problems
+ with the gnome-vfs backends which could lead to crashes
+ in the bookmark handling. (#310270, Diego Gonzalez, patch
+ by Michael Meeks)
+
2005-08-11 Kristian Rietveld <kris@gtk.org>
Fix for #312924, by John Finlay.
+2005-08-11 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkfilechooserdefault.c: Work around some problems
+ with the gnome-vfs backends which could lead to crashes
+ in the bookmark handling. (#310270, Diego Gonzalez, patch
+ by Michael Meeks)
+
2005-08-11 Kristian Rietveld <kris@gtk.org>
Fix for #312924, by John Finlay.
gboolean result;
GtkFilePath *path_copy;
+ g_return_val_if_fail (path != NULL, FALSE);
+
profile_start ("start", (char *) path);
/* We copy the path because of this case:
volume = col_data;
base_path = gtk_file_system_volume_get_base_path (impl->file_system, volume);
- exists = strcmp (gtk_file_path_get_string (path),
- gtk_file_path_get_string (base_path)) == 0;
+ exists = base_path && strcmp (gtk_file_path_get_string (path),
+ gtk_file_path_get_string (base_path)) == 0;
g_free (base_path);
if (exists)
{
GError *error;
+ g_return_val_if_fail (path != NULL, FALSE);
+
if (shortcut_find_position (impl, path) != -1)
return FALSE;