These are the two functions:
void add_node_to_recolor_wheel (RecolorWheel *wheel, std::string name, RecolorWheelNode node)
{
RecolorWheelPrivate *priv = (RecolorWheelPrivate*) (wheel->priv);
(priv->nodes).insert( std::pair<std::string,RecolorWheelNode>(name,node) );
}
void remove_node_to_recolor_wheel (RecolorWheel *wheel, std::string name)
{
RecolorWheelPrivate *priv = (RecolorWheelPrivate*) wheel->priv;
std::map<std::string,RecolorWheelNode>::iterator iter;
iter = priv->nodes.find(name);
priv->nodes.erase( iter );
}