From c5f8e01a8e9f492833f05d882f701bb8f34673d5 Mon Sep 17 00:00:00 2001 From: dooglus Date: Wed, 26 Nov 2008 19:21:51 +0000 Subject: [PATCH] Commented info() calls for debugging actions. git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2287 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/instance.cpp | 3 +++ synfig-studio/trunk/src/synfigapp/action.cpp | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/synfig-studio/trunk/src/gtkmm/instance.cpp b/synfig-studio/trunk/src/gtkmm/instance.cpp index 0e2ed36..227d84e 100644 --- a/synfig-studio/trunk/src/gtkmm/instance.cpp +++ b/synfig-studio/trunk/src/gtkmm/instance.cpp @@ -946,6 +946,9 @@ Instance::add_actions_to_menu(Gtk::Menu *menu, const synfigapp::Action::ParamLis void Instance::process_action(synfig::String name, synfigapp::Action::ParamList param_list) { + //// debug actions + // synfig::info("%s:%d process_action: '%s'", __FILE__, __LINE__, name.c_str()); + assert(synfigapp::Action::book().count(name)); synfigapp::Action::BookEntry entry(synfigapp::Action::book().find(name)->second); diff --git a/synfig-studio/trunk/src/synfigapp/action.cpp b/synfig-studio/trunk/src/synfigapp/action.cpp index 01faded..7f9e347 100644 --- a/synfig-studio/trunk/src/synfigapp/action.cpp +++ b/synfig-studio/trunk/src/synfigapp/action.cpp @@ -382,10 +382,10 @@ Super::perform() prepare(); ActionList::const_iterator iter; - //synfig::info("%s:%d actions...", __FILE__, __LINE__); for(iter=action_list_.begin();iter!=action_list_.end();++iter) { - //synfig::info("%s:%d action: '%s'", __FILE__, __LINE__, (*iter)->get_name().c_str()); + //// debug actions + // synfig::info("%s:%d action: '%s'", __FILE__, __LINE__, (*iter)->get_name().c_str()); try { try -- 2.7.4