]> www.fi.muni.cz Git - evince.git/blobdiff - backend/ev-render-context.c
Updated Czech translation.
[evince.git] / backend / ev-render-context.c
index 2d09d4461f2673eee778452545151b440ac0b7ba..a3969adad32f1ed85279a5e8609dd32a95506e21 100644 (file)
@@ -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