summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesystem.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2004-03-15 19:23:54 +0000
committerFederico Mena Quintero <federico@src.gnome.org>2004-03-15 19:23:54 +0000
commit3e3ca555359d7fbf563281dd918feaa201b60f64 (patch)
tree4916d9c6a236c5687df5fb70e8b07dbf5a1b69e1 /gtk/gtkfilesystem.c
parentafc7df895c4f704afed61e78691e33cc4ab39856 (diff)
downloadgtk+-3e3ca555359d7fbf563281dd918feaa201b60f64.tar.gz
In the Save modes, set the Name entry of the file chooser if we get a
2004-03-15 Federico Mena Quintero <federico@ximian.com> * gtk/gtkfilechooserdefault.c (update_from_entry): In the Save modes, set the Name entry of the file chooser if we get a nonexistent filename from the file entry. Fixes #135911. (gtk_file_chooser_default_set_current_name): Oops, this should also work if we are in CREATE_FOLDER mode. * gtk/gtkfilesystem.c (gtk_file_path_real_copy): Use gtk_file_path_copy(). * gtk/gtkfilechooserentry.c (check_completion_callback): Free the path that we got from the model. (completion_match_func): Use DISPLAY_NAME_COLUMN rather than a hard-coded constant.
Diffstat (limited to 'gtk/gtkfilesystem.c')
-rw-r--r--gtk/gtkfilesystem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfilesystem.c b/gtk/gtkfilesystem.c
index cd2b072257..4f176f6fe2 100644
--- a/gtk/gtkfilesystem.c
+++ b/gtk/gtkfilesystem.c
@@ -886,7 +886,7 @@ gtk_file_folder_get_info (GtkFileFolder *folder,
static gpointer
gtk_file_path_real_copy (gpointer boxed)
{
- return gtk_file_path_new_dup (gtk_file_path_get_string ((GtkFilePath *) boxed));
+ return gtk_file_path_copy ((GtkFilePath *) boxed);
}
static void