Get rid of CellRenderer_TimeTrack::show_timepoint_menu(). It was only called in...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Mon, 11 Feb 2008 19:45:01 +0000 (19:45 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Mon, 11 Feb 2008 19:45:01 +0000 (19:45 +0000)
git-svn-id: http://svn.voria.com/code@1673 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp
synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.h

index bb6d7b1..5dfef79 100644 (file)
@@ -765,9 +765,11 @@ CellRenderer_TimeTrack::activate_vfunc(
                                }
 
                                if(clickfound && node)
-                               {
-                                       show_timepoint_menu(node, stime, time_offset, actual_time+time_offset<stime?Waypoint::SIDE_LEFT:Waypoint::SIDE_RIGHT);
-                               }
+                                       signal_waypoint_clicked_cellrenderer_(node,
+                                                                                                                 stime,
+                                                                                                                 time_offset,
+                                                                                                                 2,
+                                                                                                                 actual_time+time_offset<stime?Waypoint::SIDE_LEFT:Waypoint::SIDE_RIGHT);
                        }
 
                break;
@@ -905,9 +907,3 @@ CellRenderer_TimeTrack::set_canvas_interface(etl::loose_handle<synfigapp::Canvas
 {
        canvas_interface_ = h;
 }
-
-void
-CellRenderer_TimeTrack::show_timepoint_menu(const etl::handle<synfig::Node>& node, const synfig::Time& time, const synfig::Time& time_offset, Waypoint::Side side)
-{
-       signal_waypoint_clicked_cellrenderer_(node,time,time_offset,2,side);
-}
index a94f131..34022bb 100644 (file)
@@ -168,8 +168,6 @@ public:
        CellRenderer_TimeTrack();
     ~CellRenderer_TimeTrack();
 
-       void show_timepoint_menu(const etl::handle<synfig::Node>&, const synfig::Time&, const synfig::Time&, synfig::Waypoint::Side side=synfig::Waypoint::SIDE_RIGHT);
-
        void set_adjustment(Gtk::Adjustment &x);
        Gtk::Adjustment *get_adjustment();
        const Gtk::Adjustment *get_adjustment()const;