Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/deskutils/easystroke/files/patch-actions.cc
16147 views
1
Fix build with libsigc++ 2.4+ (group was removed).
2
3
https://aur.archlinux.org/cgit/aur.git/commit/sigc.patch?h=easystroke-git&id=3d16f0584c8cf0ade6c181cb56c12d7abe2e17b7
4
5
--- actions.cc.orig 2013-03-27 15:52:38 UTC
6
+++ actions.cc
7
@@ -51,10 +51,8 @@ void TreeViewMulti::on_drag_begin(const Glib::RefPtr<G
8
context->set_icon(pb, pb->get_width(), pb->get_height());
9
}
10
11
-bool negate(bool b) { return !b; }
12
-
13
TreeViewMulti::TreeViewMulti() : Gtk::TreeView(), pending(false) {
14
- get_selection()->set_select_function(sigc::group(&negate, sigc::ref(pending)));
15
+ get_selection()->set_select_function(sigc::mem_fun(*this, &TreeViewMulti::negate_pending));
16
}
17
18
enum Type { COMMAND, KEY, TEXT, SCROLL, IGNORE, BUTTON, MISC };
19
20