[gimp] libgimpwidgets: call gimp_file_entry_set_filename() with filename encoding



commit 9317952375fc8aa7262dbd77f5fed751dafbadbd
Author: Michael Natterer <mitch gimp org>
Date:   Fri Sep 2 20:44:43 2016 +0200

    libgimpwidgets: call gimp_file_entry_set_filename() with filename encoding
    
    GimpPathEditor wass passing an UTF-8 string.

 libgimpwidgets/gimppatheditor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgimpwidgets/gimppatheditor.c b/libgimpwidgets/gimppatheditor.c
index 4add3b1..48997ec 100644
--- a/libgimpwidgets/gimppatheditor.c
+++ b/libgimpwidgets/gimppatheditor.c
@@ -782,7 +782,7 @@ gimp_path_editor_selection_changed (GtkTreeSelection *sel,
   if (gtk_tree_selection_get_selected (sel, NULL, &iter))
     {
       gtk_tree_model_get (GTK_TREE_MODEL (editor->dir_list), &iter,
-                          0, &directory,
+                          COLUMN_DIRECTORY, &directory,
                           -1);
 
       g_signal_handlers_block_by_func (editor->file_entry,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]