[gtk+/filechooserentry: 4/51] filechooserentry: Use the actual discarding function to discard a folder
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/filechooserentry: 4/51] filechooserentry: Use the actual discarding function to discard a folder
- Date: Mon, 7 Nov 2011 04:43:22 +0000 (UTC)
commit 1cf4f061960528dd7d48711f30d0e2bc11372e38
Author: Benjamin Otte <otte redhat com>
Date: Thu Oct 27 20:00:20 2011 -0700
filechooserentry: Use the actual discarding function to discard a folder
gtk/gtkfilechooserentry.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c
index 477439a..829b529 100644
--- a/gtk/gtkfilechooserentry.c
+++ b/gtk/gtkfilechooserentry.c
@@ -1477,8 +1477,7 @@ start_loading_current_folder (GtkFileChooserEntry *chooser_entry)
if (chooser_entry->local_only
&& !g_file_is_native (chooser_entry->current_folder_file))
{
- g_object_unref (chooser_entry->current_folder_file);
- chooser_entry->current_folder_file = NULL;
+ discard_loading_and_current_folder_file (chooser_entry);
return REFRESH_NOT_LOCAL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]