# HG changeset patch # User mhessling@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1056358665 0 # Node ID f9ba403b15adf9ac2a20b00625d13f94c03ad615 # Parent 787cc1e27897204b0ed90c7fd339aa511d367f9e Finally sort out correct location of text with dw_draw_text() under GTK 2.0 diff -r 787cc1e27897 -r f9ba403b15ad gtk/dw.c --- a/gtk/dw.c Tue Jun 17 01:45:58 2003 +0000 +++ b/gtk/dw.c Mon Jun 23 08:57:45 2003 +0000 @@ -5499,9 +5499,9 @@ pango_layout_set_text(layout, text, strlen(text)); if(_transparent[index]) - gdk_draw_layout(handle ? handle->window : pixmap->pixmap, gc, x, y + 2, layout); + gdk_draw_layout(handle ? handle->window : pixmap->pixmap, gc, x, y, layout); else - gdk_draw_layout_with_colors(handle ? handle->window : pixmap->pixmap, gc, x, y + 2, layout, &_foreground[index], &_background[index]); + gdk_draw_layout_with_colors(handle ? handle->window : pixmap->pixmap, gc, x, y, layout, &_foreground[index], &_background[index]); g_object_unref(layout); }