From 29e7b07ed350daec1df43aa36bfc79446dfb24ff Mon Sep 17 00:00:00 2001 From: John Ralls Date: Tue, 28 Sep 2021 17:17:23 -0700 Subject: [PATCH] Remove superflous schema_source left over from pasting. --- libgnucash/app-utils/gnc-gsettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgnucash/app-utils/gnc-gsettings.cpp b/libgnucash/app-utils/gnc-gsettings.cpp index 4476d7dc80..e7b0d5fb00 100644 --- a/libgnucash/app-utils/gnc-gsettings.cpp +++ b/libgnucash/app-utils/gnc-gsettings.cpp @@ -101,7 +101,7 @@ static GSettings * gnc_gsettings_get_settings_ptr (const gchar *schema_str) gset = static_cast (g_hash_table_lookup (schema_hash, full_name)); DEBUG ("Looking for schema %s returned gsettings %p", full_name, gset); - auto schema_source{g_settings_schema_source_get_default( )}; + if (!gset) { auto schema_source {g_settings_schema_source_get_default()};