diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-10-28 20:34:59 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-10-28 20:34:59 -0400 |
commit | 518f59ce861967447a010f3ee572c06f9386ab00 (patch) | |
tree | bc3fdf41697f0b67f8fdfdbddc68dd3dd0260235 /pango/pango-layout.c | |
parent | 511ebfccfd6ca54611d90a5c0ab1f19c8e714422 (diff) | |
download | pango-518f59ce861967447a010f3ee572c06f9386ab00.tar.gz |
Drop an unused ItemProperties use
We don't use ItemProperties in pango_layout_line_index_to_x
anymore, so no need to compute them either.
Diffstat (limited to 'pango/pango-layout.c')
-rw-r--r-- | pango/pango-layout.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c index db016614..c58495c4 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -1641,9 +1641,6 @@ pango_layout_line_index_to_x (PangoLayoutLine *line, while (run_list) { PangoLayoutRun *run = run_list->data; - ItemProperties properties; - - pango_layout_get_item_properties (run->item, &properties); if (run->item->offset <= index && run->item->offset + run->item->length > index) { |