X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fstate_scale.cpp;h=62a6642823c86058df03c0f703332942ce6d8279;hb=207785229d58cdebc3012076596fdc255dcf9879;hp=2a71e156876ff4e9af9365ee9d58297ebcb2768f;hpb=c34eaa5441242b3e9a7b7645e9ee4983d14eae85;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/state_scale.cpp b/synfig-studio/trunk/src/gtkmm/state_scale.cpp index 2a71e15..62a6642 100644 --- a/synfig-studio/trunk/src/gtkmm/state_scale.cpp +++ b/synfig-studio/trunk/src/gtkmm/state_scale.cpp @@ -2,7 +2,7 @@ /*! \file state_scale.cpp ** \brief Template File ** -** $Id: state_scale.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 @@ -49,6 +49,8 @@ #include "duck.h" #include +#include "general.h" + #endif /* === U S I N G =========================================================== */ @@ -170,7 +172,7 @@ StateScale_Context::StateScale_Context(CanvasView* canvas_view): refresh_tool_options(); 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); @@ -192,7 +194,7 @@ StateScale_Context::refresh_tool_options() } Smach::event_result -StateScale_Context::event_refresh_tool_options(const Smach::event& x) +StateScale_Context::event_refresh_tool_options(const Smach::event& /*x*/) { refresh_tool_options(); return Smach::RESULT_ACCEPT;