Created attachment 569898 Revised patch.
Remove duplicate code; add method in nsIAccessibilityService to test whether a11y is enabled. Also, unref the dbus connection when we're done with it.
Created attachment 569898
Revised patch.
Remove duplicate code; add method in nsIAccessibilit yService to test whether
a11y is enabled.
Also, unref the dbus connection when we're done with it.