From: dooglus Date: Wed, 19 Nov 2008 13:45:27 +0000 (+0000) Subject: The compiler was warning "format not a string literal and no format arguments". X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=fac9dc0a044a6529e474a325332ba17502d6e7b2;p=synfig.git The compiler was warning "format not a string literal and no format arguments". git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2223 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/layerparamtreestore.cpp b/synfig-studio/trunk/src/gtkmm/layerparamtreestore.cpp index 74d73da..a8e4fe5 100644 --- a/synfig-studio/trunk/src/gtkmm/layerparamtreestore.cpp +++ b/synfig-studio/trunk/src/gtkmm/layerparamtreestore.cpp @@ -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()); } } diff --git a/synfig-studio/trunk/src/gtkmm/layertreestore.cpp b/synfig-studio/trunk/src/gtkmm/layertreestore.cpp index 20e0cf6..38896f0 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()); } }