From 2d08a9d98d19a0581eeae687bb0322dc98806d40 Mon Sep 17 00:00:00 2001 From: MenTaLguY Date: Sun, 28 May 2006 19:51:13 +0000 Subject: replace nr_new() with g_new(), and try to converge on using the glib allocator a little more instead of the others (aside from libgc) (bzr r1044) --- src/dialogs/clonetiler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/dialogs/clonetiler.cpp') diff --git a/src/dialogs/clonetiler.cpp b/src/dialogs/clonetiler.cpp index 64edcbfd5..e47437c72 100644 --- a/src/dialogs/clonetiler.cpp +++ b/src/dialogs/clonetiler.cpp @@ -13,6 +13,7 @@ #ifdef HAVE_CONFIG_H # include "config.h" #endif +#include #include #include @@ -778,7 +779,7 @@ clonetiler_trace_pick (NR::Rect box) int height = ibox.y1 - ibox.y0; /* Set up pixblock */ - guchar *px = nr_new(guchar, 4 * width * height); + guchar *px = g_new(guchar, 4 * width * height); memset(px, 0x00, 4 * width * height); /* Render */ -- cgit v1.2.3