Commit 416b66f3 authored by Behdad Esfahbod's avatar Behdad Esfahbod Committed by Behdad Esfahbod

Fix offset to center the underline in requested rectangle. (Ported from

2006-05-30  Behdad Esfahbod  <behdad@gnome.org>

        * gdk/gdkpango.c (draw_error_underline): Fix offset to center the
        underline in requested rectangle. (Ported from pango fix.)
parent 743c6be7
2006-05-30 Behdad Esfahbod <behdad@gnome.org>
* gdk/gdkpango.c (draw_error_underline): Fix offset to center the
underline in requested rectangle. (Ported from pango fix.)
2006-05-29 Michael Natterer <mitch@imendio.com>
* gtk/gtkdialog.h: removed forgotten declaration of
......
2006-05-30 Behdad Esfahbod <behdad@gnome.org>
* gdk/gdkpango.c (draw_error_underline): Fix offset to center the
underline in requested rectangle. (Ported from pango fix.)
2006-05-29 Michael Natterer <mitch@imendio.com>
* gtk/gtkdialog.h: removed forgotten declaration of
......
......@@ -278,7 +278,7 @@ draw_error_underline (cairo_t *cr,
double y_top, y_bottom;
int i;
x += (width - width_units * unit_width);
x += (width - width_units * unit_width) / 2;
width = width_units * unit_width;
y_top = y;
......
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