Add method clutter_disable_accessibility ()
https://bugzilla.gnome.org/show_bug.cgi?id=691468
This commit is contained in:
@ -506,6 +506,29 @@ clutter_get_accessibility_enabled (void)
|
||||
return cally_get_cally_initialized ();
|
||||
}
|
||||
|
||||
/**
|
||||
* clutter_disable_accessibility:
|
||||
*
|
||||
* Disable loading the accessibility support. It has the same effect
|
||||
* as setting the environment variable
|
||||
* CLUTTER_DISABLE_ACCESSIBILITY. For the same reason, this method
|
||||
* should be called before clutter_init().
|
||||
*
|
||||
* Since: 1.14
|
||||
*/
|
||||
void
|
||||
clutter_disable_accessibility (void)
|
||||
{
|
||||
if (clutter_is_initialized)
|
||||
{
|
||||
g_warning ("clutter_disable_accessibility() can only be called before "
|
||||
"initializing Clutter.");
|
||||
return;
|
||||
}
|
||||
|
||||
clutter_enable_accessibility = FALSE;
|
||||
}
|
||||
|
||||
/**
|
||||
* clutter_redraw:
|
||||
*
|
||||
|
Reference in New Issue
Block a user