projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prevent compiler warnings about unused parameters.
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
gtkmm
/
state_circle.cpp
diff --git
a/synfig-studio/trunk/src/gtkmm/state_circle.cpp
b/synfig-studio/trunk/src/gtkmm/state_circle.cpp
index
d58a71b
..
6309588
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/state_circle.cpp
+++ b/
synfig-studio/trunk/src/gtkmm/state_circle.cpp
@@
-148,7
+148,7
@@
public:
void reset();
void increment_id();
bool no_egress_on_selection_change;
void reset();
void increment_id();
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();
@@
-327,8
+327,8
@@
StateCircle_Context::StateCircle_Context(CanvasView* canvas_view):
//prev_table_status=get_canvas_view()->tables_are_visible();
//if(prev_table_status)get_canvas_view()->hide_tables();
//prev_table_status=get_canvas_view()->tables_are_visible();
//if(prev_table_status)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::StateCircle_Context::on_user_click));
// Connect a signal
//get_work_area()->signal_user_click().connect(sigc::mem_fun(*this,&studio::StateCircle_Context::on_user_click));
@@
-347,7
+347,7
@@
StateCircle_Context::refresh_tool_options()
}
Smach::event_result
}
Smach::event_result
-StateCircle_Context::event_refresh_tool_options(const Smach::event&
x
)
+StateCircle_Context::event_refresh_tool_options(const Smach::event&
/*x*/
)
{
refresh_tool_options();
return Smach::RESULT_ACCEPT;
{
refresh_tool_options();
return Smach::RESULT_ACCEPT;
@@
-363,9
+363,8
@@
StateCircle_Context::~StateCircle_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();
@@
-377,13
+376,13
@@
StateCircle_Context::~StateCircle_Context()
}
Smach::event_result
}
Smach::event_result
-StateCircle_Context::event_stop_handler(const Smach::event&
x
)
+StateCircle_Context::event_stop_handler(const Smach::event&
/*x*/
)
{
throw Smach::egress_exception();
}
Smach::event_result
{
throw Smach::egress_exception();
}
Smach::event_result
-StateCircle_Context::event_refresh_handler(const Smach::event&
x
)
+StateCircle_Context::event_refresh_handler(const Smach::event&
/*x*/
)
{
refresh_ducks();
return Smach::RESULT_ACCEPT;
{
refresh_ducks();
return Smach::RESULT_ACCEPT;