X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftags%2Fstable%2Fsrc%2Fgtkmm%2Fstate_smoothmove.cpp;h=85587cd463cd589dcfdb8bafe615defcfbd1edda;hb=11f5539cc9a43c0407829c7949c375145d0e186e;hp=4ea8de63fae3fc2a1062f4195bc3a31ad4eada6a;hpb=4cb5360f578f79e5d9e234570018d762ea0a964f;p=synfig.git diff --git a/synfig-studio/tags/stable/src/gtkmm/state_smoothmove.cpp b/synfig-studio/tags/stable/src/gtkmm/state_smoothmove.cpp index 4ea8de6..85587cd 100644 --- a/synfig-studio/tags/stable/src/gtkmm/state_smoothmove.cpp +++ b/synfig-studio/tags/stable/src/gtkmm/state_smoothmove.cpp @@ -50,6 +50,8 @@ #include "onemoment.h" #include +#include "general.h" + #endif /* === U S I N G =========================================================== */ @@ -183,7 +185,7 @@ StateSmoothMove_Context::StateSmoothMove_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_); App::toolbox->refresh(); @@ -204,7 +206,7 @@ StateSmoothMove_Context::refresh_tool_options() } Smach::event_result -StateSmoothMove_Context::event_refresh_tool_options(const Smach::event& x) +StateSmoothMove_Context::event_refresh_tool_options(const Smach::event& /*x*/) { refresh_tool_options(); return Smach::RESULT_ACCEPT;