X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=backend%2Fev-render-context.c;h=a3969adad32f1ed85279a5e8609dd32a95506e21;hb=e02e3fde2610db645a005f276286795025426186;hp=2d09d4461f2673eee778452545151b440ac0b7ba;hpb=e93b3a265bbc02546d230204402e3f41e83d6ab5;p=evince.git diff --git a/backend/ev-render-context.c b/backend/ev-render-context.c index 2d09d446..a3969ada 100644 --- a/backend/ev-render-context.c +++ b/backend/ev-render-context.c @@ -35,7 +35,7 @@ ev_render_context_class_init (EvRenderContextClass *class) EvRenderContext * -ev_render_context_new (EvOrientation orientation, +ev_render_context_new (int rotation, gint page, gdouble scale) { @@ -43,7 +43,7 @@ ev_render_context_new (EvOrientation orientation, rc = (EvRenderContext *) g_object_new (EV_TYPE_RENDER_CONTEXT, NULL); - rc->orientation = orientation; + rc->rotation = rotation; rc->page = page; rc->scale = scale; @@ -60,12 +60,12 @@ ev_render_context_set_page (EvRenderContext *rc, } void -ev_render_context_set_orientation (EvRenderContext *rc, - EvOrientation orientation) +ev_render_context_set_rotation (EvRenderContext *rc, + int rotation) { g_return_if_fail (rc != NULL); - rc->orientation = orientation; + rc->rotation = rotation; } void