[dconf-editor] Fix miscasting to RegistryView



commit 8b01abce11f87f264ea1fb6181e138b1baab09d9
Author: Davi da Silva Böger <dsboger gmail com>
Date:   Sun Nov 26 22:26:11 2017 -0200

    Fix miscasting to RegistryView

 editor/registry-info.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/editor/registry-info.vala b/editor/registry-info.vala
index 8f1a868..618200e 100644
--- a/editor/registry-info.vala
+++ b/editor/registry-info.vala
@@ -96,7 +96,7 @@ class RegistryInfo : Grid, BrowsableView
         Label label = new Label (get_current_value_text (has_schema && ((GSettingsKey) key).is_default, 
key));
         ulong key_value_changed_handler = key.value_changed.connect (() => {
                 if (!has_schema && ((DConfKey) key).is_ghost)
-                    ((RegistryView) DConfWindow._get_parent (DConfWindow._get_parent (this))).request_path 
(parent_path);
+                    ((BrowserView) DConfWindow._get_parent (DConfWindow._get_parent (this))).request_path 
(parent_path);
                 else
                     label.set_text (get_current_value_text (has_schema && ((GSettingsKey) key).is_default, 
key));
             });


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