diff --git a/gio/gsettings-tool.c b/gio/gsettings-tool.c index e823cf4d5..03314a83c 100644 --- a/gio/gsettings-tool.c +++ b/gio/gsettings-tool.c @@ -393,14 +393,16 @@ gsettings_writable (void) } static void -value_changed (void) +value_changed (GSettings *settings, + const gchar *key, + gpointer user_data) { GVariant *value; gchar *printed; - value = g_settings_get_value (global_settings, global_key); + value = g_settings_get_value (settings, key); printed = g_variant_print (value, TRUE); - g_print ("%s: %s\n", global_key, printed); + g_print ("%s: %s\n", key, printed); g_variant_unref (value); g_free (printed); }