X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftags%2Fstable%2Fsrc%2Fgtkmm%2Fstate_rotate.cpp;h=655bc52695b553969367c838d17f946e18e7c492;hb=11f5539cc9a43c0407829c7949c375145d0e186e;hp=424c780ffa2b85d9f062e8c5070c135fc30e740b;hpb=f6184c2a9c2245aae802c31c8f3300e1b744359c;p=synfig.git diff --git a/synfig-studio/tags/stable/src/gtkmm/state_rotate.cpp b/synfig-studio/tags/stable/src/gtkmm/state_rotate.cpp index 424c780..655bc52 100644 --- a/synfig-studio/tags/stable/src/gtkmm/state_rotate.cpp +++ b/synfig-studio/tags/stable/src/gtkmm/state_rotate.cpp @@ -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;