]> www.fi.muni.cz Git - evince.git/blobdiff - backend/djvu/djvu-text-page.c
[libview] Remove GtkObject
[evince.git] / backend / djvu / djvu-text-page.c
index 696cec70ea3e4c4d88881bb81ef101d3691b5449..3f171d1efdd1a3860951353ff3601fd52bbae3e3 100644 (file)
@@ -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 <config.h>
@@ -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));