diff options
-rw-r--r-- | 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 7d3546a0..826b915e 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 } |