]> Pileus Git - ~andy/gtk/commit
Factor out function to discard the loading process and the current folder file
authorFederico Mena Quintero <federico@novell.com>
Fri, 23 Jan 2009 00:54:22 +0000 (00:54 +0000)
committerFederico Mena Quintero <federico@src.gnome.org>
Fri, 23 Jan 2009 00:54:22 +0000 (00:54 +0000)
commit7ba4268d6b4904dc43316e072a9aa3b5212c33d9
tree460baa50dc41dbb5a78c65c5c1c0e369476b97de
parentfe636e4be20a0140f2b1b52ad66acaeb9537ac14
Factor out function to discard the loading process and the current folder file
(discard_loading_and_current_folder_file): Factor out function to
cancel the cancellable and discard the current_folder_file,
i.e. to reset the invariant to the "nothing valid is loaded" case.
(gtk_file_chooser_entry_dispose): Use
discard_loading_and_current_folder_file().
(reload_current_folder): Likewise.
(refresh_current_folder_and_file_part): Likewise, and ensure that
the error cases result in the invariant being held.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
svn path=/trunk/; revision=22181
ChangeLog
gtk/gtkfilechooserentry.c