patches/metacity-10-gconf.diff
author yippi
Mon, 27 Sep 2010 21:07:51 +0000
changeset 20108 51df67ca9307
parent 17523 dec415f79e59
permissions -rw-r--r--
I had these modules listed as being owned by me, but they are really owned by wangke, correcting.

diff -uprN metacity-2.28.1/src/core/prefs.c metacity-2.28.1-new/src/core/prefs.c
--- metacity-2.28.1/src/core/prefs.c	2010-02-10 11:53:03.899776641 +0800
+++ metacity-2.28.1-new/src/core/prefs.c	2010-02-10 12:09:34.079356970 +0800
@@ -2026,11 +2026,9 @@ init_bindings (void)
           value = gconf_entry_get_value (entry);
           if (g_str_has_suffix (key, KEY_LIST_BINDINGS_SUFFIX))
             {
-              list_val = gconf_client_get_list (default_client, key, GCONF_VALUE_STRING, NULL);
+              list_val = gconf_value_get_list (value);
  
               update_key_list_binding (key, list_val);
-              g_slist_foreach (list_val, (GFunc)g_free, NULL);
-              g_slist_free (list_val);
             }
           else
             {