X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftags%2Fstable%2Fsrc%2Fgtkmm%2Fstate_scale.cpp;h=62a6642823c86058df03c0f703332942ce6d8279;hb=ed50a17b37a41caaf09ef91cac1f219df27f36d9;hp=85638819167399add577a9604dcae774b68a668b;hpb=f6184c2a9c2245aae802c31c8f3300e1b744359c;p=synfig.git diff --git a/synfig-studio/tags/stable/src/gtkmm/state_scale.cpp b/synfig-studio/tags/stable/src/gtkmm/state_scale.cpp index 8563881..62a6642 100644 --- a/synfig-studio/tags/stable/src/gtkmm/state_scale.cpp +++ b/synfig-studio/tags/stable/src/gtkmm/state_scale.cpp @@ -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;