Commit ded87f4f authored by Morten Welinder's avatar Morten Welinder

Make it compile with pango 1.4

parent 56195496
......@@ -175,6 +175,7 @@ cb_dump (PangoAttribute *a)
(PangoAttrFilterFunc) cb_dump, NULL);
#endif
#ifdef HAVE_PANGO_CONTEXT_SET_MATRIX
/* Gets the bounds of a layout in pango units. Mostly copied from gtklabel.c */
static void
get_rotated_layout_bounds (PangoLayout *layout, int *width, int *height)
......@@ -219,6 +220,7 @@ get_rotated_layout_bounds (PangoLayout *layout, int *width, int *height)
*width = ceil (x_max) - floor (x_min);
*height = ceil (y_max) - floor (y_min);
}
#endif
void
rendered_value_remeasure (RenderedValue *rv)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment