diff options
Diffstat (limited to 'gtk/gtktextlayout.c')
-rw-r--r-- | gtk/gtktextlayout.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk/gtktextlayout.c b/gtk/gtktextlayout.c index acf003912e..6974353b7c 100644 --- a/gtk/gtktextlayout.c +++ b/gtk/gtktextlayout.c @@ -4036,11 +4036,7 @@ gtk_text_layout_snapshot (GtkTextLayout *layout, crenderer->snapshot = snapshot; crenderer->fg_color = color; - graphene_rect_init (&crenderer->bounds, - clip->x, - clip->y, - clip->width, - clip->height); + graphene_rect_init (&crenderer->bounds, 0, 0, clip->width, clip->height); gtk_text_layout_wrap_loop_start (layout); |