summaryrefslogtreecommitdiff
path: root/gtk/gtkcheckmenuitem.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkcheckmenuitem.c')
-rw-r--r--gtk/gtkcheckmenuitem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkcheckmenuitem.c b/gtk/gtkcheckmenuitem.c
index dab287600f..59bc0cd1d3 100644
--- a/gtk/gtkcheckmenuitem.c
+++ b/gtk/gtkcheckmenuitem.c
@@ -365,9 +365,9 @@ gtk_real_check_menu_item_draw_indicator (GtkCheckMenuItem *check_menu_item,
width = 8;
height = 8;
- x = (GTK_CONTAINER (check_menu_item)->border_width +
- widget->style->xthickness + 2);
- y = (widget->allocation.height - height) / 2;
+ x = widget->allocation.x + (GTK_CONTAINER (check_menu_item)->border_width +
+ widget->style->xthickness + 2);
+ y = widget->allocation.y + (widget->allocation.height - height) / 2;
if (check_menu_item->active ||
check_menu_item->always_show_toggle ||