diff options
author | Joanmarie Diggs <[email protected]> | 2014-06-23 12:06:46 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-11-27 10:13:51 +0100 |
commit | 6473980b44cbb959c1eadf0ce1549837b645318d (patch) | |
tree | 5a5f4fa4b89c3e30e121719cb695318a1281c854 /libview/ev-view.c | |
parent | fd9b18641b5ddda364aaca2bbba678f644554741 (diff) | |
download | atril-6473980b44cbb959c1eadf0ce1549837b645318d.tar.bz2 atril-6473980b44cbb959c1eadf0ce1549837b645318d.tar.xz |
Expose form fields as AtkObject children of the page
https://bugzilla.gnome.org/show_bug.cgi?id=728475
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-14&id=d707486
Diffstat (limited to 'libview/ev-view.c')
-rw-r--r-- | libview/ev-view.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c index 75b89caf..efd03006 100644 --- a/libview/ev-view.c +++ b/libview/ev-view.c @@ -2596,8 +2596,8 @@ ev_view_form_field_choice_create_widget (EvView *view, return choice; } -static void -ev_view_focus_form_field (EvView *view, +void +_ev_view_focus_form_field (EvView *view, EvFormField *field) { GtkWidget *field_widget = NULL; @@ -2642,7 +2642,7 @@ ev_view_handle_form_field (EvView *view, if (field->is_read_only) return; - ev_view_focus_form_field (view, field); + _ev_view_focus_form_field (view, field); if (field->activation_link) ev_view_handle_link (view, field->activation_link); @@ -4129,7 +4129,7 @@ ev_view_set_focused_element_at_location (EvView *view, if ((field = ev_view_get_form_field_at_location (view, x, y))) { ev_view_remove_all (view); - ev_view_focus_form_field (view, field); + _ev_view_focus_form_field (view, field); return; } |