#include "gltemplate.h"
#include <cgraph/alloc.h>
#include <cgraph/exit.h>
-#include <common/memory.h>
#include "gvprpipe.h"
#include "frmobjectui.h"
#ifdef ENABLE_NLS
}
*s = '\0';
- smyrnaDir = N_NEW(strlen(line)+sizeof(SMYRNA), char);
+ smyrnaDir = gv_calloc(strlen(line) + sizeof(SMYRNA), sizeof(char));
strcpy (smyrnaDir, line);
strcat(smyrnaDir, SMYRNA);
#else
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
textdomain(GETTEXT_PACKAGE);
#endif
- view = NEW(ViewInfo);
+ view = gv_alloc(sizeof(ViewInfo));
init_viewport(view);
view->initFileName = parseArgs(argc, argv, view);
if(view->initFileName)