mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 01:36:17 +01:00
gsettings-tool: fix deprecated call
This commit is contained in:
parent
ff3dee4bf6
commit
e02fa68068
@ -430,7 +430,7 @@ gsettings_monitor (void)
|
|||||||
* If the schema has zero keys then we won't be displaying any
|
* If the schema has zero keys then we won't be displaying any
|
||||||
* notifications anyway.
|
* notifications anyway.
|
||||||
*/
|
*/
|
||||||
keys = g_settings_list_keys (global_settings);
|
keys = g_settings_schema_list_keys (global_schema);
|
||||||
if (keys[0])
|
if (keys[0])
|
||||||
g_variant_unref (g_settings_get_value (global_settings, keys[0]));
|
g_variant_unref (g_settings_get_value (global_settings, keys[0]));
|
||||||
g_strfreev (keys);
|
g_strfreev (keys);
|
||||||
|
Loading…
Reference in New Issue
Block a user