X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Flayertreestore.cpp;h=3a446c9c040c5a89d75caa779d61751cba1b5f7f;hb=b0ac74b597f00a1f222d7627e6ff760feb07bff7;hp=20e0cf6e05b6ad5ba6a900e2d146f529785fab40;hpb=5b221c440f2b0e097546d65cd992841a164fa1bc;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/layertreestore.cpp b/synfig-studio/trunk/src/gtkmm/layertreestore.cpp index 20e0cf6..3a446c9 100644 --- a/synfig-studio/trunk/src/gtkmm/layertreestore.cpp +++ b/synfig-studio/trunk/src/gtkmm/layertreestore.cpp @@ -351,7 +351,7 @@ LayerTreeStore::set_value_impl(const Gtk::TreeModel::iterator& iter, int column, } catch(std::exception x) { - g_warning(x.what()); + g_warning("%s", x.what()); } } @@ -621,7 +621,7 @@ LayerTreeStore::rebuild() // 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)