mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
Fix up a11y settings handling
Somebody changed the type of the atk-bridge-location key from s to ay. Without telling affected parties :-( https://bugzilla.gnome.org/show_bug.cgi?id=658562
This commit is contained in:
parent
092338a4c7
commit
5b39b87199
1 changed files with 4 additions and 2 deletions
|
|
@ -50,6 +50,7 @@ static char*
|
|||
get_atk_bridge_path (void)
|
||||
{
|
||||
GSettings *atspi_settings = NULL;
|
||||
GVariant *variant = NULL;
|
||||
char *value = NULL;
|
||||
const char * const *schemas = NULL;
|
||||
gboolean found = FALSE;
|
||||
|
|
@ -74,8 +75,9 @@ get_atk_bridge_path (void)
|
|||
}
|
||||
|
||||
atspi_settings = g_settings_new (AT_SPI_SCHEMA);
|
||||
value = g_settings_get_string (atspi_settings, ATK_BRIDGE_LOCATION_KEY);
|
||||
|
||||
variant = g_settings_get_value (atspi_settings, ATK_BRIDGE_LOCATION_KEY);
|
||||
value = g_variant_dup_bytestring (variant, NULL);
|
||||
g_variant_unref (variant);
|
||||
g_object_unref (atspi_settings);
|
||||
|
||||
return value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue