X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=backend%2Fdjvu%2Fdjvu-text-page.c;h=3f171d1efdd1a3860951353ff3601fd52bbae3e3;hb=223cc03e0275c77c4482ed0495b3bd15993a3ab8;hp=10fe1a48987f3994d0170e4fa97a48739ad802ef;hpb=19a00ed1cd086dcca4b6bfeb84e0b1488b2e3089;p=evince.git diff --git a/backend/djvu/djvu-text-page.c b/backend/djvu/djvu-text-page.c index 10fe1a48..3f171d1e 100644 --- a/backend/djvu/djvu-text-page.c +++ b/backend/djvu/djvu-text-page.c @@ -233,7 +233,7 @@ djvu_text_page_sexpr_process (DjvuTextPage *page, miniexp_t end) { if (page->bounding_box || p == start) { - EvRectangle *new_rectangle = g_new (EvRectangle, 1); + EvRectangle *new_rectangle = ev_rectangle_new (); new_rectangle->x1 = miniexp_to_int (miniexp_nth (1, p)); new_rectangle->y1 = miniexp_to_int (miniexp_nth (2, p)); new_rectangle->x2 = miniexp_to_int (miniexp_nth (3, p));