projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reinstate the -Wno-unused-parameter flag, because when building a non-debug build...
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
gtkmm
/
state_gradient.cpp
diff --git
a/synfig-studio/trunk/src/gtkmm/state_gradient.cpp
b/synfig-studio/trunk/src/gtkmm/state_gradient.cpp
index
d4cf949
..
124658b
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/state_gradient.cpp
+++ b/
synfig-studio/trunk/src/gtkmm/state_gradient.cpp
@@
-134,7
+134,7
@@
public:
void make_gradient(const Point& p1, const Point& p2);
bool no_egress_on_selection_change;
void make_gradient(const Point& p1, const Point& p2);
bool no_egress_on_selection_change;
- Smach::event_result event_layer_selection_changed_handler(const Smach::event&
x
)
+ Smach::event_result event_layer_selection_changed_handler(const Smach::event&
/*x*/
)
{
if(!no_egress_on_selection_change)
throw Smach::egress_exception();
{
if(!no_egress_on_selection_change)
throw Smach::egress_exception();
@@
-292,8
+292,8
@@
StateGradient_Context::StateGradient_Context(CanvasView* canvas_view):
// Hide the tables if they are showing
get_canvas_view()->hide_tables();
// Hide the tables if they are showing
get_canvas_view()->hide_tables();
- //
Hid
e the time bar
- //get_canvas_view()->
hide_timebar(
);
+ //
Disabl
e the time bar
+ //get_canvas_view()->
set_sensitive_timebar(false
);
// Connect a signal
//get_work_area()->signal_user_click().connect(sigc::mem_fun(*this,&studio::StateGradient_Context::on_user_click));
// Connect a signal
//get_work_area()->signal_user_click().connect(sigc::mem_fun(*this,&studio::StateGradient_Context::on_user_click));
@@
-311,7
+311,7
@@
StateGradient_Context::refresh_tool_options()
}
Smach::event_result
}
Smach::event_result
-StateGradient_Context::event_refresh_tool_options(const Smach::event&
x
)
+StateGradient_Context::event_refresh_tool_options(const Smach::event&
/*x*/
)
{
refresh_tool_options();
return Smach::RESULT_ACCEPT;
{
refresh_tool_options();
return Smach::RESULT_ACCEPT;
@@
-328,9
+328,8
@@
StateGradient_Context::~StateGradient_Context()
App::dialog_tool_options->clear();
App::dialog_tool_options->clear();
- // Show the time bar
- if(get_canvas_view()->get_canvas()->rend_desc().get_time_start()!=get_canvas_view()->get_canvas()->rend_desc().get_time_end())
- get_canvas_view()->show_timebar();
+ // Enable the time bar
+ //get_canvas_view()->set_sensitive_timebar(true);
// Bring back the tables if they were out before
//if(prev_table_status)get_canvas_view()->show_tables();
// Bring back the tables if they were out before
//if(prev_table_status)get_canvas_view()->show_tables();
@@
-346,13
+345,13
@@
StateGradient_Context::~StateGradient_Context()
}
Smach::event_result
}
Smach::event_result
-StateGradient_Context::event_stop_handler(const Smach::event&
x
)
+StateGradient_Context::event_stop_handler(const Smach::event&
/*x*/
)
{
throw Smach::egress_exception();
}
Smach::event_result
{
throw Smach::egress_exception();
}
Smach::event_result
-StateGradient_Context::event_refresh_handler(const Smach::event&
x
)
+StateGradient_Context::event_refresh_handler(const Smach::event&
/*x*/
)
{
refresh_ducks();
return Smach::RESULT_ACCEPT;
{
refresh_ducks();
return Smach::RESULT_ACCEPT;