From 5654480a85100da972d03729f7012c4402eb7e13 Mon Sep 17 00:00:00 2001 From: Conor Curran Date: Wed, 24 Aug 2011 12:45:58 +0100 Subject: fix the dot alignment in the gtk2s user widget --- src/user-widget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/user-widget.c b/src/user-widget.c index 1530967..937a9eb 100644 --- a/src/user-widget.c +++ b/src/user-widget.c @@ -302,7 +302,7 @@ user_widget_primitive_draw_cb (GtkWidget *widget, gtk_widget_get_allocation (widget, &allocation); x = allocation.x + 13; - y = allocation.height / 2; + y = allocation.y + allocation.height/2; cairo_arc (cr, x, y, 3.0, 0.0, 2 * G_PI);; -- cgit v1.2.3