2009-06-12 Xan Lopez <xlopez@igalia.com>
Reviewed by Gustavo Noronha.
https://bugs.webkit.org/show_bug.cgi?id=25609
[GTK] Implement support for get_selection and get_n_selections
Only use the VisibleSelection object if it actually belongs to the
object we are using.
This is pretty hacky-ish, but I can't seem to find a direct API to
get the VisibleSelection for a given object, only the global one.
* accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
(selectionBelongsToObject):
(webkit_accessible_text_get_n_selections):
(webkit_accessible_text_get_selection):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@44622
268f45cc-cd09-0410-ab3c-
d52691b4dbfc