#include <gdk/gdkkeysyms.h>
#include <gdk/gdk.h>
#include "viewport.h"
+#include <cgraph/alloc.h>
#include <cgraph/strview.h>
-#include <common/memory.h>
GladeXML *xml; //global libglade vars
GtkWidget *gladewidget;
}
break;
default:
- attr[attrcount].ComboValues =
- RALLOC(attr[attrcount].ComboValuesCount,
- attr[attrcount].ComboValues, char *);
+ attr[attrcount].ComboValues = gv_recalloc(attr[attrcount].ComboValues,
+ attr[attrcount].ComboValuesCount - 1,
+ attr[attrcount].ComboValuesCount,
+ sizeof(char*));
attr[attrcount].ComboValues[attr[attrcount].
ComboValuesCount] = strview_str(ss);
attr[attrcount].ComboValuesCount++;