[dconf-editor] Simplify a little bit more.



commit d7614cfbecc4cd9e10f2aabb75ef4b1836c8872f
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Sat Feb 17 15:58:09 2018 +0100

    Simplify a little bit more.

 editor/schemas-utility.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/editor/schemas-utility.vala b/editor/schemas-utility.vala
index 3eb033c..1dbb735 100644
--- a/editor/schemas-utility.vala
+++ b/editor/schemas-utility.vala
@@ -29,12 +29,12 @@ public class SchemasUtility : Object
 
     public bool is_relocatable_schema (string id)
     {
-        return (settings_schema_source != null) && (id in relocatable_schemas);
+        return (id in relocatable_schemas);
     }
 
     public bool is_non_relocatable_schema (string id)
     {
-        return (settings_schema_source != null) && (id in non_relocatable_schemas);
+        return (id in non_relocatable_schemas);
     }
 
     public string? get_schema_path (string id)


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