mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Fixing accessibility bustage on gtk2 port
This commit is contained in:
parent
0add7f8317
commit
3b247061ce
@ -920,12 +920,13 @@ PRBool nsAccessibleEditableText::IsSingleLineTextControl(nsIDOMNode *aDomNode)
|
||||
|
||||
nsresult nsAccessibleEditableText::FireTextChangeEvent(AtkTextChange *aTextData)
|
||||
{
|
||||
nsCOMPtr<nsPIAccessible> privAccessible(do_QueryInterface(NS_STATIC_CAST(nsIAccessibleText*, this)));
|
||||
nsCOMPtr<nsIAccessible> accessible(do_QueryInterface(NS_STATIC_CAST(nsIAccessibleText*, this)));
|
||||
nsCOMPtr<nsPIAccessible> privAccessible(do_QueryInterface(accessible));
|
||||
if (privAccessible) {
|
||||
#ifdef DEBUG
|
||||
printf(" [start=%d, length=%d, add=%d]\n", aTextData->start, aTextData->length, aTextData->add);
|
||||
#endif
|
||||
privAccessible->FireToolkitEvent(nsIAccessibleEventReceiver::EVENT_ATK_TEXT_CHANGE, privAccessible, aTextData);
|
||||
privAccessible->FireToolkitEvent(nsIAccessibleEventReceiver::EVENT_ATK_TEXT_CHANGE, accessible, aTextData);
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user