Fix g_settings_list_schemas deprecation
Fix unused var warning