Fix some compiler warnings.
[synfig.git] / synfig-studio / trunk / src / gtkmm / layergrouptreestore.cpp
index 22629a1..06efd8c 100644 (file)
@@ -457,7 +457,7 @@ LayerGroupTreeStore::set_value_impl(const Gtk::TreeModel::iterator& iter, int co
        }
        catch(std::exception x)
        {
-               g_warning(x.what());
+               g_warning("%s", x.what());
        }
 }
 
@@ -722,7 +722,7 @@ LayerGroupTreeStore::rebuild()
                        }
                }
 
-               // 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::LayerGroupTreeStore::on_layer_added)