summaryrefslogtreecommitdiff
path: root/pango-view/viewer-pangocairo.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango-view/viewer-pangocairo.c')
-rw-r--r--pango-view/viewer-pangocairo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango-view/viewer-pangocairo.c b/pango-view/viewer-pangocairo.c
index fc06ccfe..3171453c 100644
--- a/pango-view/viewer-pangocairo.c
+++ b/pango-view/viewer-pangocairo.c
@@ -163,7 +163,7 @@ render_callback (PangoLayout *layout,
cairo_translate (cr, 1.0, 1.0);
cairo_rotate (cr,
pango_gravity_to_rotation (
- pango_context_get_base_gravity (
+ pango_context_get_gravity (
pango_layout_get_context (layout))));
cairo_move_to (cr, -1.0, -1.0);
cairo_rel_line_to (cr, +1.0, -0.2); /* / */