summaryrefslogtreecommitdiff
path: root/libdocument/ev-mapping-list.h
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-03-05 18:46:44 +0100
committerraveit65 <[email protected]>2017-03-07 13:34:19 +0100
commit0abc1ee808a7f4bdf94b41f89ad31175d8b00eb9 (patch)
tree72f6aa361d21f604a37516b1b0a72731f297d504 /libdocument/ev-mapping-list.h
parent0b6c62b75d02a1ba3bd8c073970965b26111785f (diff)
downloadatril-0abc1ee808a7f4bdf94b41f89ad31175d8b00eb9.tar.bz2
atril-0abc1ee808a7f4bdf94b41f89ad31175d8b00eb9.tar.xz
libdocument: Add length and nth methods to EvMappingList
taken from: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=19db23a
Diffstat (limited to 'libdocument/ev-mapping-list.h')
-rw-r--r--libdocument/ev-mapping-list.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdocument/ev-mapping-list.h b/libdocument/ev-mapping-list.h
index 27104136..2a713b16 100644
--- a/libdocument/ev-mapping-list.h
+++ b/libdocument/ev-mapping-list.h
@@ -47,6 +47,9 @@ EvMapping *ev_mapping_list_find_custom (EvMappingList *mapping_list,
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);
G_END_DECLS