Bug 388930. gsignal.c:2271 signal name 'text_caret_moved' is invalid for instance. patch by Ginn Chen, r=aaronlev, a=dsicore

This commit is contained in:
aaronleventhal@moonset.net 2007-08-10 12:36:55 -07:00
Родитель a73791209d
Коммит f698a4093c
1 изменённых файлов: 9 добавлений и 3 удалений

Просмотреть файл

@ -1205,7 +1205,9 @@ nsDocAccessible::FireTextChangedEventOnDOMCharacterDataModified(nsIContent *aCon
nsCOMPtr<nsIAccessible> accessible;
nsresult rv = GetAccessibleInParentChain(node, getter_AddRefs(accessible));
if (NS_FAILED(rv) || !accessible)
nsCOMPtr<nsIAccessibleHyperText> hyperTextIface =
do_QueryInterface(accessible);
if (NS_FAILED(rv) || !hyperTextIface)
return;
nsRefPtr<nsHyperTextAccessible> textAccessible;
@ -1254,7 +1256,9 @@ nsDocAccessible::FireTextChangedEventOnDOMNodeInserted(nsIContent *aChild,
nsCOMPtr<nsIAccessible> accessible;
nsresult rv = GetAccessibleInParentChain(node, getter_AddRefs(accessible));
if (NS_FAILED(rv) || !accessible)
nsCOMPtr<nsIAccessibleHyperText> hyperTextIface =
do_QueryInterface(accessible);
if (NS_FAILED(rv) || !hyperTextIface)
return;
nsRefPtr<nsHyperTextAccessible> textAccessible;
@ -1312,7 +1316,9 @@ nsDocAccessible::FireTextChangedEventOnDOMNodeRemoved(nsIContent *aChild,
nsCOMPtr<nsIAccessible> accessible;
nsresult rv = GetAccessibleInParentChain(node, getter_AddRefs(accessible));
if (NS_FAILED(rv) || !accessible)
nsCOMPtr<nsIAccessibleHyperText> hyperTextIface =
do_QueryInterface(accessible);
if (NS_FAILED(rv) || !hyperTextIface)
return;
nsRefPtr<nsHyperTextAccessible> textAccessible;