Commit 28cc6aeb authored by Matthias Clasen's avatar Matthias Clasen

gsettings: Try harder to describe keys

If a key has no description, show the summary,
rather than "(null)". Since thats not helpful at all.
parent 85e4a259
......@@ -275,6 +275,8 @@ gsettings_description (void)
const gchar *description;
description = g_settings_schema_key_get_description (global_schema_key);
if (description == NULL)
description = g_settings_schema_key_get_summary (global_schema_key);
g_print ("%s\n", description);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment