[gimp/gimp-2-8] libgimpwidgets: call gimp_file_entry_set_filename() with filename encoding



commit 853c57a2cb582f00f7420a5a6c3303db7f665f6f
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.
    
    (cherry picked from commit 9317952375fc8aa7262dbd77f5fed751dafbadbd)

 libgimpwidgets/gimppatheditor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgimpwidgets/gimppatheditor.c b/libgimpwidgets/gimppatheditor.c
index 07155bc..e86297d 100644
--- a/libgimpwidgets/gimppatheditor.c
+++ b/libgimpwidgets/gimppatheditor.c
@@ -781,7 +781,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]