]> granicus.if.org Git - graphviz/commitdiff
remove one unused N_NEW wrapper
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 16 Jun 2020 01:05:23 +0000 (18:05 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 22 Jun 2020 23:39:21 +0000 (16:39 -0700)
plugin/pango/gvtextlayout_pango.c

index 9b102d97f6791e73141f2c2522db1ed49a5113fa..0927c438482f5f36ba04334ba42707870d528d44 100644 (file)
@@ -26,8 +26,6 @@
 #include <pango/pangofc-font.h>
 #endif
 
-#define N_NEW(n,t)      (t*)malloc((n)*sizeof(t))
-
 static void pango_free_layout (void *layout)
 {
     g_object_unref((PangoLayout*)layout);