2007-06-01 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcellrenderertext.c (get_size): transform the ink_rect using
pango_extents_to_pixels to avoid rounding errors. (Fixes #430218,
Shlomi Israel).
svn path=/trunk/; revision=17996
+2007-06-01 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtkcellrenderertext.c (get_size): transform the ink_rect using
+ pango_extents_to_pixels to avoid rounding errors. (Fixes #430218,
+ Shlomi Israel).
+
2007-05-31 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* tests/autotestfilechooser.c: Reactivate the other file-chooser
else
layout = get_layout (celltext, widget, FALSE, 0);
- pango_layout_get_pixel_extents (layout, NULL, &rect);
+ pango_layout_get_extents (layout, NULL, &rect);
+ pango_extents_to_pixels (&rect, NULL);
if (height)
*height = cell->ypad * 2 + rect.height;