diff -ruN thunar.orig/thunar-preferences.c thunar/thunar-preferences.c --- thunar.orig/thunar-preferences.c 2015-03-07 00:00:00.000000000 +0100 +++ thunar/thunar-preferences.c 2015-03-07 00:00:00.000000000 +0100 @@ -815,9 +815,7 @@ GParamSpec *pspec) { ThunarPreferences *preferences = THUNAR_PREFERENCES (object); - GValue src = { 0, }; gchar prop_name[64]; - gchar **array; /* only set defaults if channel is not set */ if (G_UNLIKELY (preferences->channel == NULL)) @@ -829,25 +827,9 @@ /* build property name */ g_snprintf (prop_name, sizeof (prop_name), "/%s", g_param_spec_get_name (pspec)); - if (G_VALUE_TYPE (value) == G_TYPE_STRV) - { - /* handle arrays directly since we cannot transform those */ - array = xfconf_channel_get_string_list (preferences->channel, prop_name); - g_value_take_boxed (value, array); - } - else if (xfconf_channel_get_property (preferences->channel, prop_name, &src)) - { - if (G_VALUE_TYPE (value) == G_VALUE_TYPE (&src)) - g_value_copy (&src, value); - else if (!g_value_transform (&src, value)) - g_printerr ("Thunar: Failed to transform property %s\n", prop_name); - g_value_unset (&src); - } - else - { - /* value is not found, return default */ - g_param_value_set_default (pspec, value); - } + g_print("\"%s\": \"%s\"\n", prop_name, xfconf_channel_has_property (preferences->channel, prop_name) ? "true" : "false"); + + g_param_value_set_default (pspec, value); }