{
Node::time_set::const_iterator i,j,end = tset.end();
+ // stop the crash mentioned in bug #1689282
+ // doesn't solve the underlying problem though, I don't think
+ if (tset.size() == 0)
+ {
+ synfig::error(__FILE__":%d: tset.size() == 0",__LINE__);
+ return false;
+ }
+
//TODO add in RangeGet so it's not so damn hard to click on points
i = tset.upper_bound(t); //where t is the lower bound, t < [first,i)
CellRenderer_TimeTrack::render_vfunc(
const Glib::RefPtr<Gdk::Drawable>& window,
Gtk::Widget& widget,
- const Gdk::Rectangle& background_area,
+ const Gdk::Rectangle& /*background_area*/,
const Gdk::Rectangle& area_,
- const Gdk::Rectangle& expose_area,
- Gtk::CellRendererState flags)
+ const Gdk::Rectangle& /*expose_area*/,
+ Gtk::CellRendererState /*flags*/)
{
if(!window)
return;
}
synfig::ValueNode_Animated::WaypointList::iterator
-CellRenderer_TimeTrack::find_waypoint(const synfig::Time& t,const synfig::Time& scope)
+CellRenderer_TimeTrack::find_waypoint(const synfig::Time& /*t*/,const synfig::Time& scope)
{
synfig::ValueNode_Animated *value_node=dynamic_cast<synfig::ValueNode_Animated*>(property_value_desc().get_value().get_value_node().get());
bool
CellRenderer_TimeTrack::activate_vfunc(
GdkEvent* event,
- Gtk::Widget& widget,
+ Gtk::Widget& /*widget*/,
const Glib::ustring& treepath,
- const Gdk::Rectangle& background_area,
+ const Gdk::Rectangle& /*background_area*/,
const Gdk::Rectangle& cell_area,
- Gtk::CellRendererState flags)
+ Gtk::CellRendererState /*flags*/)
{
path=treepath;
synfig::ValueNode_Animated::WaypointList::iterator iter;