From 6de0f8528796be49f1bc11e5d6eb75e2b20dd131 Mon Sep 17 00:00:00 2001 From: dooglus Date: Tue, 25 Nov 2008 01:21:01 +0000 Subject: [PATCH] Fix some compiler warnings. git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2264 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/childrentreestore.cpp | 2 +- synfig-studio/trunk/src/gtkmm/keyframetreestore.cpp | 8 ++++---- synfig-studio/trunk/src/gtkmm/layergrouptreestore.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/synfig-studio/trunk/src/gtkmm/childrentreestore.cpp b/synfig-studio/trunk/src/gtkmm/childrentreestore.cpp index 5903550..cf8798f 100644 --- a/synfig-studio/trunk/src/gtkmm/childrentreestore.cpp +++ b/synfig-studio/trunk/src/gtkmm/childrentreestore.cpp @@ -384,6 +384,6 @@ ChildrenTreeStore::set_value_impl(const Gtk::TreeModel::iterator& iter, int colu } catch(std::exception x) { - g_warning(x.what()); + g_warning("%s", x.what()); } } diff --git a/synfig-studio/trunk/src/gtkmm/keyframetreestore.cpp b/synfig-studio/trunk/src/gtkmm/keyframetreestore.cpp index 596f078..b0d4ae2 100644 --- a/synfig-studio/trunk/src/gtkmm/keyframetreestore.cpp +++ b/synfig-studio/trunk/src/gtkmm/keyframetreestore.cpp @@ -448,7 +448,7 @@ KeyframeTreeStore::set_value_impl(const Gtk::TreeModel::iterator& row, int colum } catch(std::exception x) { - g_warning(x.what()); + g_warning("%s", x.what()); } } @@ -828,7 +828,7 @@ KeyframeTreeStore::add_keyframe(synfig::Keyframe keyframe) } catch(std::exception x) { - g_warning(x.what()); + g_warning("%s", x.what()); } } @@ -853,7 +853,7 @@ KeyframeTreeStore::remove_keyframe(synfig::Keyframe keyframe) } catch(std::exception x) { - g_warning(x.what()); + g_warning("%s", x.what()); } } @@ -896,6 +896,6 @@ KeyframeTreeStore::change_keyframe(synfig::Keyframe keyframe) } catch(std::exception x) { - g_warning(x.what()); + g_warning("%s", x.what()); } } diff --git a/synfig-studio/trunk/src/gtkmm/layergrouptreestore.cpp b/synfig-studio/trunk/src/gtkmm/layergrouptreestore.cpp index 5d1787a..06efd8c 100644 --- a/synfig-studio/trunk/src/gtkmm/layergrouptreestore.cpp +++ b/synfig-studio/trunk/src/gtkmm/layergrouptreestore.cpp @@ -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()); } } -- 2.7.4