13
0

make our intentions even clearer when call Editor::track_canvas_viewport_size_allocated()

This commit is contained in:
Paul Davis 2014-04-16 02:55:08 -04:00
parent fea4f14242
commit dbb8501429
2 changed files with 3 additions and 5 deletions

View File

@ -1448,7 +1448,7 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
Gtk::Allocation _canvas_viewport_allocation;
void track_canvas_viewport_allocate (Gtk::Allocation alloc);
bool track_canvas_viewport_size_allocated ();
void track_canvas_viewport_size_allocated ();
bool track_canvas_drag_motion (Glib::RefPtr<Gdk::DragContext> const &, int, int, guint);
bool track_canvas_key_press (GdkEventKey *);
bool track_canvas_key_release (GdkEventKey *);

View File

@ -255,10 +255,10 @@ void
Editor::track_canvas_viewport_allocate (Gtk::Allocation alloc)
{
_canvas_viewport_allocation = alloc;
(void) track_canvas_viewport_size_allocated ();
track_canvas_viewport_size_allocated ();
}
bool
void
Editor::track_canvas_viewport_size_allocated ()
{
bool height_changed = _visible_canvas_height != _canvas_viewport_allocation.get_height();
@ -289,8 +289,6 @@ Editor::track_canvas_viewport_size_allocated ()
update_fixed_rulers();
redisplay_tempo (false);
_summary->set_overlays_dirty ();
return false;
}
void