summaryrefslogtreecommitdiffstats
path: root/src/dialogs/clonetiler.cpp
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2006-05-28 19:51:13 +0000
committermental <mental@users.sourceforge.net>2006-05-28 19:51:13 +0000
commit2d08a9d98d19a0581eeae687bb0322dc98806d40 (patch)
tree3adec19e80f170b623e41454aae370cb7c75dade /src/dialogs/clonetiler.cpp
parentokay, that looked better in the icon preview than it did in practice; putting... (diff)
downloadinkscape-2d08a9d98d19a0581eeae687bb0322dc98806d40.tar.gz
inkscape-2d08a9d98d19a0581eeae687bb0322dc98806d40.zip
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)
Diffstat (limited to 'src/dialogs/clonetiler.cpp')
-rw-r--r--src/dialogs/clonetiler.cpp3
1 files changed, 2 insertions, 1 deletions
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 <glib/gmem.h>
#include <gtk/gtk.h>
#include <glibmm/i18n.h>
@@ -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 */