Fix r1942, forgot to get the image width and height
[synfig.git] / synfig-studio / trunk / src / gtkmm / state_width.cpp
index b8a7926..59e58a6 100644 (file)
@@ -55,6 +55,8 @@
 
 #include <ETL/clock>
 
+#include "general.h"
+
 #endif
 
 /* === U S I N G =========================================================== */
@@ -149,7 +151,7 @@ public:
        void save_settings();
        void reset();
 
-};     // END of class StateGradient_Context
+};     // END of class StateWidth_Context
 
 /* === M E T H O D S ======================================================= */
 
@@ -461,7 +463,7 @@ StateWidth_Context::event_mouse_handler(const Smach::event& x)
 {
        const EventMouse& event(*reinterpret_cast<const EventMouse*>(&x));
 
-       //handle ze click
+       //handle the click
        if( (event.key == EVENT_WORKAREA_MOUSE_BUTTON_DOWN || event.key == EVENT_WORKAREA_MOUSE_BUTTON_DRAG)
                        && event.button == BUTTON_LEFT )
        {