X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=inline;f=backend%2Fev-document.c;h=9bccc4cab7ee2d09ed99e5024ac3144a6cea4456;hb=71cfbd5e3ec158efcb49c896bd4468764a9a54fb;hp=d4130838edcd864836b40229efb2fe28a8487ae5;hpb=bca369672136e5ff831ece9832afd42085808fba;p=evince.git diff --git a/backend/ev-document.c b/backend/ev-document.c index d4130838..9bccc4ca 100644 --- a/backend/ev-document.c +++ b/backend/ev-document.c @@ -218,6 +218,23 @@ ev_document_render_pixbuf (EvDocument *document, return retval; } +EvOrientation +ev_document_get_orientation (EvDocument *document) +{ + EvDocumentIface *iface = EV_DOCUMENT_GET_IFACE (document); + + return iface->get_orientation (document); +} + +void +ev_document_set_orientation (EvDocument *document, + EvOrientation orientation) +{ + EvDocumentIface *iface = EV_DOCUMENT_GET_IFACE (document); + + iface->set_orientation (document, orientation); +} + void ev_document_info_free (EvDocumentInfo *info) {