2006-09-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c (update_combo_box): Protect
against base_path being NULL. (#358405, many reporters)
+2006-09-30 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
+ against base_path being NULL. (#358405, many reporters)
+
2006-09-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
GtkFilePath *base_path;
base_path = gtk_file_system_volume_get_base_path (priv->fs, data);
- row_found = (paths &&
- paths->data &&
- gtk_file_path_compare (base_path, paths->data) == 0);
- gtk_file_path_free (base_path);
+ if (base_path)
+ {
+ row_found = (paths &&
+ paths->data &&
+ gtk_file_path_compare (base_path, paths->data) == 0);
+ gtk_file_path_free (base_path);
+ }
}
break;
default: