From 8361e92b0227d8db17facce32ea68a262231c95c Mon Sep 17 00:00:00 2001 From: dooglus Date: Mon, 12 Mar 2007 12:51:01 +0000 Subject: [PATCH] Commented out the declarations of unused variables. The code which uses them is also commented out. git-svn-id: http://svn.voria.com/code@298 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp b/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp index 058ecd6..9c2a829 100644 --- a/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp +++ b/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp @@ -202,8 +202,8 @@ CellRenderer_TimeTrack::render_vfunc( Glib::RefPtr gc(Gdk::GC::create(window)); Glib::RefPtr inactive_gc(Gdk::GC::create(window)); Gtk::Adjustment *adjustment=get_adjustment(); - Gtk::StateType state = Gtk::STATE_ACTIVE; - Gtk::ShadowType shadow; + // Gtk::StateType state = Gtk::STATE_ACTIVE; + // Gtk::ShadowType shadow; Gdk::Color curr_time_color("#0000ff"), @@ -222,7 +222,7 @@ CellRenderer_TimeTrack::render_vfunc( synfigapp::ValueDesc value_desc = property_value_desc().get_value(); synfig::ValueNode *base_value = value_desc.get_value_node().get(); - synfig::ValueNode_Animated *value_node=dynamic_cast(base_value); + // synfig::ValueNode_Animated *value_node=dynamic_cast(base_value); synfig::ValueNode_DynamicList *parent_value_node(0); if(property_value_desc().get_value().parent_is_value_node()) @@ -567,7 +567,7 @@ CellRenderer_TimeTrack::activate_vfunc( Time nearest=1000000000; Gtk::Adjustment *adjustment=get_adjustment(); - synfig::ValueNode_Animated *value_node=dynamic_cast(property_value_desc().get_value().get_value_node().get()); + // synfig::ValueNode_Animated *value_node=dynamic_cast(property_value_desc().get_value().get_value_node().get()); synfig::Canvas::Handle canvas(get_canvas()); -- 2.7.4