From fac9dc0a044a6529e474a325332ba17502d6e7b2 Mon Sep 17 00:00:00 2001 From: dooglus Date: Wed, 19 Nov 2008 13:45:27 +0000 Subject: [PATCH] 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 --- synfig-studio/trunk/src/gtkmm/layerparamtreestore.cpp | 2 +- synfig-studio/trunk/src/gtkmm/layertreestore.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/synfig-studio/trunk/src/gtkmm/layerparamtreestore.cpp b/synfig-studio/trunk/src/gtkmm/layerparamtreestore.cpp index 74d73da2..a8e4fe55 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 20e0cf6e..38896f05 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()); } } -- 2.11.4.GIT