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/ui/widget/icon-widget.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ui/widget/icon-widget.cpp') diff --git a/src/ui/widget/icon-widget.cpp b/src/ui/widget/icon-widget.cpp index c456778b6..7e812236f 100644 --- a/src/ui/widget/icon-widget.cpp +++ b/src/ui/widget/icon-widget.cpp @@ -14,6 +14,7 @@ # include #endif +#include #include "icon-widget.h" namespace Inkscape { @@ -49,7 +50,7 @@ IconWidget::IconWidget(int unsigned size, int unsigned scale, gchar const *name) /* TODO _pb = gdk_pixbuf_new_from_data(pixels, GDK_COLORSPACE_RGB, TRUE, 8, _size, _size, _size * 4, - (GdkPixbufDestroyNotify)nr_free, NULL); + (GdkPixbufDestroyNotify)g_free, NULL); */ } } -- cgit v1.2.3