• Federico Mena Quintero's avatar
    Handle errors in setting the path bar's path. Fixes #136000, based on a · e50fb687
    Federico Mena Quintero authored
    2004-03-02  Federico Mena Quintero  <federico@ximian.com>
    
    	* gtk/gtkfilechooserdefault.c
    	(gtk_file_chooser_default_set_current_folder): Handle errors in
    	setting the path bar's path.  Fixes #136000, based on a patch by
    	Morten Welinder.
    
    	* gtk/gtkfilesystemunix.c (gtk_file_system_unix_insert_bookmark):
    	Don't free our own propagated error.
    
    	* gtk/gtkpathbar.c (gtk_path_bar_set_path): Likewise, and free the
    	parent_path upon error.  Fixes #136006, patch by Morten Welinder.
    	(gtk_path_bar_set_path): Unref the file_folder upon error.
    	(gtk_path_bar_set_path): Return a boolean success code.
    e50fb687
gtkfilesystemunix.c 37.6 KB