Solving issue 1241 on behalf of skraft61: "CropHandler::update is called too often". It also remove the main preview's scrollbars.

This commit is contained in:
natureh
2012-02-25 19:41:44 +01:00
parent ea5a4f73cf
commit d5cc52771b
8 changed files with 77 additions and 168 deletions

View File

@@ -92,7 +92,7 @@ class ImageArea : public Gtk::DrawingArea, public CropWindowListener {
bool on_scroll_event (GdkEventScroll* event);
void on_resized (Gtk::Allocation& req);
void styleChanged (const Glib::RefPtr<Gtk::Style>& style);
void updateScrollbars ();
void syncBeforeAfterViews ();
void setCropGUIListener (CropGUIListener* l);
void setPointerMotionListener (PointerMotionListener* pml);