diff options
author | Antia Puentes <[email protected]> | 2013-09-20 11:14:50 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-08-28 16:04:00 +0200 |
commit | f03b70d2cd8ea6099af7b24fe2f7c024e9fdd323 (patch) | |
tree | c911f5e32eea21e15a7e3ba3fe83da926bacdd8b /libdocument/ev-mapping-list.h | |
parent | 998dea356a0d26d4654c066af22363d274f35924 (diff) | |
download | atril-f03b70d2cd8ea6099af7b24fe2f7c024e9fdd323.tar.bz2 atril-f03b70d2cd8ea6099af7b24fe2f7c024e9fdd323.tar.xz |
libdocument: Added ev_mapping_list_get
returns the EvMapping in the EvMappingList at coordinates (x,y).
origin commit:
https://git.gnome.org/browse/evince/commit/?id=2de7a65
Diffstat (limited to 'libdocument/ev-mapping-list.h')
-rw-r--r-- | libdocument/ev-mapping-list.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libdocument/ev-mapping-list.h b/libdocument/ev-mapping-list.h index ad509674..e4cb5a80 100644 --- a/libdocument/ev-mapping-list.h +++ b/libdocument/ev-mapping-list.h @@ -47,9 +47,12 @@ EvMapping *ev_mapping_list_find (EvMappingList *mapping_list, EvMapping *ev_mapping_list_find_custom (EvMappingList *mapping_list, gconstpointer data, GCompareFunc func); -gpointer ev_mapping_list_get_data (EvMappingList *mapping_list, +EvMapping *ev_mapping_list_get (EvMappingList *mapping_list, gdouble x, gdouble y); +gpointer ev_mapping_list_get_data (EvMappingList *mapping_list, + gdouble x, + gdouble y); EvMapping *ev_mapping_list_nth (EvMappingList *mapping_list, guint n); guint ev_mapping_list_length (EvMappingList *mapping_list); |