[dconf-editor] Use the new OPTION_REMAINING.



commit 806a1bd7f54b7005394603ab0c0f228ffbd73fef
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Thu Dec 14 00:09:05 2017 +0100

    Use the new OPTION_REMAINING.

 editor/dconf-editor.vala |    3 ---
 editor/dconf-model.vala  |    1 +
 2 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/editor/dconf-editor.vala b/editor/dconf-editor.vala
index 668ec83..c44d74c 100644
--- a/editor/dconf-editor.vala
+++ b/editor/dconf-editor.vala
@@ -17,9 +17,6 @@
 
 class ConfigurationEditor : Gtk.Application
 {
-    [CCode (cname = "G_OPTION_REMAINING")]
-    extern const string OPTION_REMAINING;
-
     public static string [,] known_mappings = {
             {"com.gexperts.Tilix.Profile",
                 "/com/gexperts/Tilix/profiles//"},
diff --git a/editor/dconf-model.vala b/editor/dconf-model.vala
index f6099ee..d3cf49e 100644
--- a/editor/dconf-model.vala
+++ b/editor/dconf-model.vala
@@ -736,6 +736,7 @@ public class SettingsModel : Object
         string [] non_relocatable_schemas;
         string [] relocatable_schemas;
 
+        refresh_schema_source ();   // first call
         if (settings_schema_source == null)
             return false;   // TODO better
 


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