[dconf-editor] Fix a pathbar warning.



commit a14695b4536754bbb6c679ffddda848b3f9ca609
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Thu Jan 11 02:17:30 2018 +0100

    Fix a pathbar warning.

 editor/dconf-window.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/editor/dconf-window.vala b/editor/dconf-window.vala
index c923099..592111f 100644
--- a/editor/dconf-window.vala
+++ b/editor/dconf-window.vala
@@ -365,7 +365,7 @@ class DConfWindow : ApplicationWindow
         {
             Directory parent_directory = (!) model.get_directory (SettingsModel.get_parent_path (full_name));
             browser_view.prepare_properties_view ((Key) found_object, current_path == 
SettingsModel.get_parent_path (full_name), parent_directory.warning_multiple_schemas);
-            update_current_path (full_name);
+            update_current_path (strdup (full_name));
         }
         else
             set_directory ((Directory) found_object, pathbar.get_selected_child (full_name));


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