}
catch(std::exception x)
{
- g_warning(x.what());
+ g_warning("%s", x.what());
}
}
// Clear out the current list
clear();
- // Go ahead and and add all the layers
+ // Go ahead and add all the layers
std::for_each(
canvas_interface()->get_canvas()->rbegin(), canvas_interface()->get_canvas()->rend(),
sigc::mem_fun(*this, &studio::LayerTreeStore::on_layer_added)