X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fstate_rotate.cpp;h=655bc52695b553969367c838d17f946e18e7c492;hb=59fbbc9b2d99809f56f9812c07fadf395efbba82;hp=3f84b4ec808230d1cac8c939642ea24679a7a02a;hpb=c34eaa5441242b3e9a7b7645e9ee4983d14eae85;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/state_rotate.cpp b/synfig-studio/trunk/src/gtkmm/state_rotate.cpp index 3f84b4e..655bc52 100644 --- a/synfig-studio/trunk/src/gtkmm/state_rotate.cpp +++ b/synfig-studio/trunk/src/gtkmm/state_rotate.cpp @@ -2,7 +2,7 @@ /*! \file state_rotate.cpp ** \brief Template File ** -** $Id: state_rotate.cpp,v 1.1.1.1 2005/01/07 03:34:37 darco Exp $ +** $Id$ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley @@ -50,6 +50,8 @@ #include #include +#include "general.h" + #endif /* === U S I N G =========================================================== */ @@ -185,7 +187,7 @@ StateRotate_Context::StateRotate_Context(CanvasView* canvas_view): //App::dialog_tool_options->set_widget(options_table); App::dialog_tool_options->present(); - get_work_area()->allow_layer_clicks=true; + get_work_area()->set_allow_layer_clicks(true); get_work_area()->set_duck_dragger(duck_dragger_); // get_canvas_view()->work_area->set_cursor(Gdk::CROSSHAIR); @@ -207,7 +209,7 @@ StateRotate_Context::refresh_tool_options() } Smach::event_result -StateRotate_Context::event_refresh_tool_options(const Smach::event& x) +StateRotate_Context::event_refresh_tool_options(const Smach::event& /*x*/) { refresh_tool_options(); return Smach::RESULT_ACCEPT;