From: dooglus Date: Mon, 11 Feb 2008 19:45:01 +0000 (+0000) Subject: Get rid of CellRenderer_TimeTrack::show_timepoint_menu(). It was only called in... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=6204b47351d21c0dcde44b4a877a937dd14eb0dd;p=synfig.git Get rid of CellRenderer_TimeTrack::show_timepoint_menu(). It was only called in one place, and didn't do anything other than invoke signal_waypoint_clicked_cellrenderer_(). Invoke the signal directly instead. git-svn-id: http://svn.voria.com/code@1673 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp b/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp index bb6d7b1..5dfef79 100644 --- a/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp +++ b/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp @@ -765,9 +765,11 @@ CellRenderer_TimeTrack::activate_vfunc( } if(clickfound && node) - { - show_timepoint_menu(node, stime, time_offset, actual_time+time_offset& node, const synfig::Time& time, const synfig::Time& time_offset, Waypoint::Side side) -{ - signal_waypoint_clicked_cellrenderer_(node,time,time_offset,2,side); -} diff --git a/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.h b/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.h index a94f131..34022bb 100644 --- a/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.h +++ b/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.h @@ -168,8 +168,6 @@ public: CellRenderer_TimeTrack(); ~CellRenderer_TimeTrack(); - void show_timepoint_menu(const etl::handle&, 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;