[gnome-terminal] profile: Use the correct schema source to lookup schemas



commit f133374e2b5a03c0d2cb6534a5d0502957ea2cf7
Author: Christian Persch <chpe src gnome org>
Date:   Thu Aug 18 18:31:01 2022 +0200

    profile: Use the correct schema source to lookup schemas

 src/terminal-settings-list.cc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/terminal-settings-list.cc b/src/terminal-settings-list.cc
index 095b99dc..20d29b68 100644
--- a/src/terminal-settings-list.cc
+++ b/src/terminal-settings-list.cc
@@ -320,8 +320,7 @@ clone_child (TerminalSettingsList *list,
   client = dconf_client_new ();
   changeset = dconf_changeset_new ();
 
-  GSettingsSchemaSource *source = g_settings_schema_source_get_default (); /* unowned */
-  gs_unref_settings_schema GSettingsSchema* schema = g_settings_schema_source_lookup (source,
+  gs_unref_settings_schema GSettingsSchema* schema = g_settings_schema_source_lookup (list->schema_source,
                                                                                       list->child_schema_id,
                                                                                       TRUE);
    /* shouldn't really happen ever */


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