X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libdocument%2Fev-document-links.h;h=6aa43ae3d87330222a9baf5574fc38ac5709e5e7;hb=68c2072c87f150690e443de656b31746ac9383ad;hp=b8ea6014ca3ff073c60edcd77ed97e38a51232da;hpb=4912987303aefef0d02a45726b75e5fdae043982;p=evince.git diff --git a/libdocument/ev-document-links.h b/libdocument/ev-document-links.h index b8ea6014..6aa43ae3 100644 --- a/libdocument/ev-document-links.h +++ b/libdocument/ev-document-links.h @@ -18,7 +18,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION) @@ -63,7 +63,7 @@ struct _EvDocumentLinksIface gboolean (* has_document_links) (EvDocumentLinks *document_links); GtkTreeModel *(* get_links_model) (EvDocumentLinks *document_links); GList *(* get_links) (EvDocumentLinks *document_links, - gint page); + EvPage *page); EvLinkDest *(* find_link_dest) (EvDocumentLinks *document_links, const gchar *link_name); }; @@ -73,9 +73,13 @@ gboolean ev_document_links_has_document_links (EvDocumentLinks *document_li GtkTreeModel *ev_document_links_get_links_model (EvDocumentLinks *document_links); GList *ev_document_links_get_links (EvDocumentLinks *document_links, - gint page); + EvPage *page); EvLinkDest *ev_document_links_find_link_dest (EvDocumentLinks *document_links, const gchar *link_name); +gint ev_document_links_get_dest_page (EvDocumentLinks *document_links, + EvLinkDest *dest); +gchar *ev_document_links_get_dest_page_label(EvDocumentLinks *document_links, + EvLinkDest *dest); G_END_DECLS