summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserentry.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnu.org>2008-03-13 00:46:14 +0000
committerFederico Mena Quintero <federico@src.gnome.org>2008-03-13 00:46:14 +0000
commitc406ebcc44e58fd35b25a5a1d7655a127130ec61 (patch)
treed56487e8cf292a1ff5731e7b07c73813b1652b24 /gtk/gtkfilechooserentry.c
parent7efced56877a0b35e6a2e88729f62c697c2e23e0 (diff)
downloadgtk+-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.c3
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)