diff options
Diffstat (limited to 'x11-misc/easystroke/files/easystroke-0.6.0-cxx11.patch')
-rw-r--r-- | x11-misc/easystroke/files/easystroke-0.6.0-cxx11.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/x11-misc/easystroke/files/easystroke-0.6.0-cxx11.patch b/x11-misc/easystroke/files/easystroke-0.6.0-cxx11.patch deleted file mode 100644 index 8619e8e9fbdc..000000000000 --- a/x11-misc/easystroke/files/easystroke-0.6.0-cxx11.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/actions.cc -+++ b/actions.cc -@@ -51,10 +51,11 @@ - context->set_icon(pb, pb->get_width(), pb->get_height()); - } - --bool negate(bool b) { return !b; } -- - TreeViewMulti::TreeViewMulti() : Gtk::TreeView(), pending(false) { -- get_selection()->set_select_function(sigc::group(&negate, sigc::ref(pending))); -+ get_selection()->set_select_function( -+ [this](Glib::RefPtr<Gtk::TreeModel> const&, Gtk::TreeModel::Path const&, bool) { -+ return !pending; -+ }); - } - - enum Type { COMMAND, KEY, TEXT, SCROLL, IGNORE, BUTTON, MISC }; |