[glibmm] Fix "make check" after sigc::mem_fun(pointer, func) was deprecated
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Fix "make check" after sigc::mem_fun(pointer, func) was deprecated
- Date: Thu, 10 Mar 2016 18:43:53 +0000 (UTC)
commit 74e8088b9694ac68abf98bb52e7e09398b3f6207
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date: Thu Mar 10 19:41:45 2016 +0100
Fix "make check" after sigc::mem_fun(pointer,func) was deprecated
tests/glibmm_refptr_sigc_bind/main.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/glibmm_refptr_sigc_bind/main.cc b/tests/glibmm_refptr_sigc_bind/main.cc
index 7d3546a..826b915 100644
--- a/tests/glibmm_refptr_sigc_bind/main.cc
+++ b/tests/glibmm_refptr_sigc_bind/main.cc
@@ -36,10 +36,10 @@ public:
{
// std::cout << "new Test" << std::endl;
#ifdef ACTIVATE_BUG // See https://bugzilla.gnome.org/show_bug.cgi?id=564005#c15s
- action->signal_sig1().connect(sigc::bind(sigc::mem_fun(this, &Test::on_sig1), action));
+ action->signal_sig1().connect(sigc::bind(sigc::mem_fun(*this, &Test::on_sig1), action));
#else
Glib::RefPtr<Action> action2(new Action);
- action->signal_sig1().connect(sigc::bind(sigc::mem_fun(this, &Test::on_sig1), action2));
+ action->signal_sig1().connect(sigc::bind(sigc::mem_fun(*this, &Test::on_sig1), action2));
#endif
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]