X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fstate_normal.cpp;h=467cb5d0a40ab90bbd0a6fca1c22e70b63e5b832;hb=72f82d29ebd4fd20144d4d674c5e8e443f24f6b0;hp=baacc72e4e8509646f019f5e13c574f59f3bb084;hpb=c34eaa5441242b3e9a7b7645e9ee4983d14eae85;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/state_normal.cpp b/synfig-studio/trunk/src/gtkmm/state_normal.cpp index baacc72..467cb5d 100644 --- a/synfig-studio/trunk/src/gtkmm/state_normal.cpp +++ b/synfig-studio/trunk/src/gtkmm/state_normal.cpp @@ -1,8 +1,8 @@ /* === S Y N F I G ========================================================= */ -/*! \file template.cpp +/*! \file state_normal.cpp ** \brief Template File ** -** $Id: state_normal.cpp,v 1.1.1.1 2005/01/07 03:34:36 darco Exp $ +** $Id$ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley @@ -119,7 +119,7 @@ StateNormal::~StateNormal() StateNormal_Context::StateNormal_Context(CanvasView *canvas_view): canvas_view(canvas_view) { - synfig::info("Enterted Normal State"); + synfig::info("Entered Normal State"); } StateNormal_Context::~StateNormal_Context() @@ -135,14 +135,14 @@ StateNormal_Context::refresh_tool_options() } Smach::event_result -StateNormal_Context::event_refresh_tool_options(const Smach::event& x) +StateNormal_Context::event_refresh_tool_options(const Smach::event& /*x*/) { refresh_tool_options(); return Smach::RESULT_ACCEPT; } Smach::event_result -StateNormal_Context::event_stop_handler(const Smach::event& x) +StateNormal_Context::event_stop_handler(const Smach::event& /*x*/) { synfig::info("STATE NORMAL: Received Stop Event"); canvas_view->stop(); @@ -150,7 +150,7 @@ StateNormal_Context::event_stop_handler(const Smach::event& x) } Smach::event_result -StateNormal_Context::event_refresh_handler(const Smach::event& x) +StateNormal_Context::event_refresh_handler(const Smach::event& /*x*/) { synfig::info("STATE NORMAL: Received Refresh Event"); canvas_view->rebuild_tables(); @@ -159,7 +159,7 @@ StateNormal_Context::event_refresh_handler(const Smach::event& x) } Smach::event_result -StateNormal_Context::event_refresh_ducks_handler(const Smach::event& x) +StateNormal_Context::event_refresh_ducks_handler(const Smach::event& /*x*/) { synfig::info("STATE NORMAL: Received Refresh Ducks"); canvas_view->queue_rebuild_ducks(); @@ -167,7 +167,7 @@ StateNormal_Context::event_refresh_ducks_handler(const Smach::event& x) } Smach::event_result -StateNormal_Context::event_undo_handler(const Smach::event& x) +StateNormal_Context::event_undo_handler(const Smach::event& /*x*/) { synfig::info("STATE NORMAL: Received Undo Event"); canvas_view->get_instance()->undo(); @@ -175,7 +175,7 @@ StateNormal_Context::event_undo_handler(const Smach::event& x) } Smach::event_result -StateNormal_Context::event_redo_handler(const Smach::event& x) +StateNormal_Context::event_redo_handler(const Smach::event& /*x*/) { synfig::info("STATE NORMAL: Received Redo Event"); canvas_view->get_instance()->redo(); @@ -363,7 +363,7 @@ StateNormal_Context::edit_several_waypoints(std::list valu */ Smach::event_result -StateNormal_Context::event_multiple_ducks_clicked_handler(const Smach::event& x) +StateNormal_Context::event_multiple_ducks_clicked_handler(const Smach::event& /*x*/) { synfig::info("STATE NORMAL: Received multiple duck click event"); @@ -395,6 +395,7 @@ StateNormal_Context::event_multiple_ducks_clicked_handler(const Smach::event& x) } Gtk::Menu *menu=manage(new Gtk::Menu()); + menu->signal_hide().connect(sigc::bind(sigc::ptr_fun(&delete_widget), menu)); canvas_view->get_instance()->make_param_menu(menu,canvas_view->get_canvas(),value_desc_list);