[gnome-terminal] migration: Correctly get the value of the default profile gconf pref



commit 51ab7126c4e63a121209bb69708df717ffef82a1
Author: Christian Persch <chpe gnome org>
Date:   Fri Jan 18 17:53:03 2013 +0100

    migration: Correctly get the value of the default profile gconf pref
    
    Need to allow the gconf default, since otherwise we won't migrate the
    prefs from the default profile that are now global options.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=692021

 src/migration.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/migration.c b/src/migration.c
index e89c1e1..ee6b53f 100644
--- a/src/migration.c
+++ b/src/migration.c
@@ -442,7 +442,7 @@ migrate_profiles (GSettings *global_settings,
 
   profile_uuids = g_ptr_array_new_with_free_func ((GDestroyNotify) g_free);
 
-  dvalue = gconf_client_get_without_default (client, GCONF_GLOBAL_PREFIX "/default_profile", NULL);
+  dvalue = gconf_client_get (client, GCONF_GLOBAL_PREFIX "/default_profile", NULL);
   if (dvalue != NULL &&
       dvalue->type == GCONF_VALUE_STRING)
     default_profile = gconf_value_get_string (dvalue);



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