[gnome-terminal] profile: Fix dummy settings patch



commit 512e4bbf467d1eab91bba86dcd27f8852fc00273
Author: Christian Persch <chpe gnome org>
Date:   Sat Feb 15 15:42:02 2014 +0100

    profile: Fix dummy settings patch
    
    Fixes crash when cloning a profile.
    
    https://retrace.fedoraproject.org/faf/problems/1433130/
    https://bugzilla.gnome.org/show_bug.cgi?id=724264

 src/terminal-settings-list.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/terminal-settings-list.c b/src/terminal-settings-list.c
index 1d8248e..656f374 100644
--- a/src/terminal-settings-list.c
+++ b/src/terminal-settings-list.c
@@ -282,7 +282,7 @@ clone_child (TerminalSettingsList *list,
 
   /* FIXME: this is beyond ugly. Need API on GSettingsSchema to list all the keys! */
   {
-    gs_unref_object GSettings *dummy = g_settings_new_with_path (list->child_schema_id, "/foo");
+    gs_unref_object GSettings *dummy = g_settings_new_with_path (list->child_schema_id, "/foo/");
     keys = g_settings_list_keys (dummy);
   }
 


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