summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pango/pango-layout.c3
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)
{