Added copyright lines for files I've edited this year.
[synfig.git] / synfig-studio / trunk / src / gtkmm / state_scale.cpp
index 2a71e15..62a6642 100644 (file)
@@ -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 <synfigapp/main.h>
 
+#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;