projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove dynamic cast hack
[synfig.git]
/
synfig-studio
/
src
/
gtkmm
/
state_width.cpp
diff --git
a/synfig-studio/src/gtkmm/state_width.cpp
b/synfig-studio/src/gtkmm/state_width.cpp
index
1c7ef4f
..
8c74daa
100644
(file)
--- a/
synfig-studio/src/gtkmm/state_width.cpp
+++ b/
synfig-studio/src/gtkmm/state_width.cpp
@@
-39,6
+39,7
@@
#include <synfigapp/action_system.h>
#include "state_width.h"
#include <synfigapp/action_system.h>
#include "state_width.h"
+#include "state_normal.h"
#include "canvasview.h"
#include "workarea.h"
#include "app.h"
#include "canvasview.h"
#include "workarea.h"
#include "app.h"
@@
-356,7
+357,9
@@
StateWidth_Context::~StateWidth_Context()
Smach::event_result
StateWidth_Context::event_stop_handler(const Smach::event& /*x*/)
{
Smach::event_result
StateWidth_Context::event_stop_handler(const Smach::event& /*x*/)
{
- throw Smach::egress_exception();
+ //throw Smach::egress_exception();
+ throw &state_normal;
+ return Smach::RESULT_OK;
}
Smach::event_result
}
Smach::event_result