The compiler was warning "format not a string literal and no format arguments".
[synfig.git] / synfig-studio / trunk / src / gtkmm / layertreestore.cpp
index 20e0cf6..38896f0 100644 (file)
@@ -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());
        }
 }