The compiler was warning "format not a string literal and no format arguments".
[synfig.git] / synfig-studio / trunk / src / gtkmm / layerparamtreestore.cpp
index 74d73da..a8e4fe5 100644 (file)
@@ -286,7 +286,7 @@ LayerParamTreeStore::set_value_impl(const Gtk::TreeModel::iterator& iter, int co
        }
        catch(std::exception x)
        {
-               g_warning(x.what());
+               g_warning("%s", x.what());
        }
 }