summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2017-04-23 17:11:25 +0200
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2017-04-23 17:11:25 +0200
commit7ab03b5e8714286e9a8bb58467328c65485b1b72 (patch)
tree9e53134251d43b01d068e6635d4a1e22c0083a69 /tests
parent7bd0fa6fa6404ff73d338c26543e114dc1031fc7 (diff)
downloadglibmm-7ab03b5e8714286e9a8bb58467328c65485b1b72.tar.gz
Glib::SignalProxy: Make a specialization for void signal handlers
Make specializations of SignalProxy<> and SignalProxyDetailed<> for signal handlers that return void. The specializations have no connect_notify() method, and the 'after' parameter in the connect() method has a default value only in the specializations. Bug 126213
Diffstat (limited to 'tests')
-rw-r--r--tests/giomm_tls_client/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/giomm_tls_client/main.cc b/tests/giomm_tls_client/main.cc
index a4ec05cc..703de755 100644
--- a/tests/giomm_tls_client/main.cc
+++ b/tests/giomm_tls_client/main.cc
@@ -115,7 +115,7 @@ main(int, char**)
{
auto tls_connection = Gio::TlsClientConnection::create(conn, address);
- tls_connection->signal_accept_certificate().connect(sigc::ptr_fun(&on_accept_certificate));
+ tls_connection->signal_accept_certificate().connect(sigc::ptr_fun(&on_accept_certificate), false);
tls_connection->handshake();