X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=backend%2Fdjvu%2Fdjvu-text-page.c;h=3f171d1efdd1a3860951353ff3601fd52bbae3e3;hb=212d9a536bc60e711b779feb5e8aa33db654997d;hp=696cec70ea3e4c4d88881bb81ef101d3691b5449;hpb=c86fea736694b17beb9fb621fceac7e2970afe08;p=evince.git diff --git a/backend/djvu/djvu-text-page.c b/backend/djvu/djvu-text-page.c index 696cec70..3f171d1e 100644 --- a/backend/djvu/djvu-text-page.c +++ b/backend/djvu/djvu-text-page.c @@ -14,7 +14,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include @@ -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));