Blob Blame Raw
diff -up easystroke-0.6.0/actions.cc.fixdeprecated easystroke-0.6.0/actions.cc
--- easystroke-0.6.0/actions.cc.fixdeprecated	2019-10-18 13:45:25.824696185 -0400
+++ easystroke-0.6.0/actions.cc	2019-10-18 13:46:40.247139173 -0400
@@ -23,6 +23,7 @@
 #include "grabber.h"
 #include "cellrenderertextish.h"
 
+#include <functional>
 #include <typeinfo>
 
 bool TreeViewMulti::on_button_press_event(GdkEventButton* event) {
@@ -52,7 +53,7 @@ void TreeViewMulti::on_drag_begin(const
 }
 
 TreeViewMulti::TreeViewMulti() : Gtk::TreeView(), pending(false) {
-	get_selection()->set_select_function([this](Glib::RefPtr<Gtk::TreeModel> const&, Gtk::TreeModel::Path const&, bool) {
+	get_selection()->set_select_function([this](const Glib::RefPtr<Gtk::TreeModel>&, const Gtk::TreePath&, const bool&) { return !this->pending; });
 		return !pending;
 	});
 }