Commit eb87bd74 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Replace deprecated scale with zoom

Signed-off-by: 's avatarSebastian Ramacher <sebastian@ramacher.at>
parent da71a9a9
......@@ -70,7 +70,7 @@ build_index(fz_context* ctx, fz_document* document, fz_outline* outline, girara_
target.page_number = fz_resolve_link(ctx, document, outline->uri, &x, &y);
target.left = x;
target.top = y;
target.scale = 0.0;
target.zoom = 0.0;
}
index_element->link = zathura_link_new(type, rect, target);
......
......@@ -61,7 +61,7 @@ pdf_page_links_get(zathura_page_t* page, mupdf_page_t* mupdf_page, zathura_error
mupdf_document->document, link->uri, &x, &y);
target.left = x;
target.top = y;
target.scale = 0.0;
target.zoom = 0.0;
}
zathura_link_t* zathura_link = zathura_link_new(type, position, target);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment