changeset 450:f9ba403b15ad

Finally sort out correct location of text with dw_draw_text() under GTK 2.0
author mhessling@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 23 Jun 2003 08:57:45 +0000
parents 787cc1e27897
children 538b529052e0
files gtk/dw.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);
 				}