diff options
author | Federico Mena Quintero <federico@gnu.org> | 2008-03-13 00:46:14 +0000 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2008-03-13 00:46:14 +0000 |
commit | c406ebcc44e58fd35b25a5a1d7655a127130ec61 (patch) | |
tree | d56487e8cf292a1ff5731e7b07c73813b1652b24 /gtk/gtkfilechooserentry.c | |
parent | 7efced56877a0b35e6a2e88729f62c697c2e23e0 (diff) | |
download | gtk+-c406ebcc44e58fd35b25a5a1d7655a127130ec61.tar.gz |
Clear the current_folder_path if loading yields an error
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19852
Diffstat (limited to 'gtk/gtkfilechooserentry.c')
-rw-r--r-- | gtk/gtkfilechooserentry.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c index edda9f9f10..072bc9bcc1 100644 --- a/gtk/gtkfilechooserentry.c +++ b/gtk/gtkfilechooserentry.c @@ -1283,6 +1283,9 @@ load_directory_get_folder_callback (GtkFileSystemHandle *handle, pop_up_completion_feedback (chooser_entry, msg); g_free (msg); } + + gtk_file_path_free (chooser_entry->current_folder_path); + chooser_entry->current_folder_path = NULL; } if (cancelled || error) |