[glibmm] sigc3: SignalProxy: Use sigc::clost<R(Args...)> syntax.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] sigc3: SignalProxy: Use sigc::clost<R(Args...)> syntax.
- Date: Mon, 14 Nov 2016 09:44:18 +0000 (UTC)
commit d11331b8884414d02bf1171db26d3140ca5c3ca3
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Mar 31 14:19:00 2016 +0200
sigc3: SignalProxy: Use sigc::clost<R(Args...)> syntax.
tools/m4/signal.m4 | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tools/m4/signal.m4 b/tools/m4/signal.m4
index 5b680f4..b1a53bc 100644
--- a/tools/m4/signal.m4
+++ b/tools/m4/signal.m4
@@ -65,7 +65,7 @@ ifelse($8,`1',,`dnl Do not generate the implementation if it should be custom:
static $2 __CPPNAME__`'_signal_$4_callback`'(__CNAME__`'* self, _COMMA_SUFFIX($3)`'void* data)
{
using namespace __NAMESPACE__;
- using SlotType = sigc::slot< $5`'_COMMA_PREFIX($6) >;
+ using SlotType = sigc::slot<$5`'($6)>;
auto obj = dynamic_cast<__CPPNAME__*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self));
// Do not try to call a signal on a disassociated wrapper.
@@ -107,7 +107,7 @@ ifelse($2,void,,`dnl else
static $2 __CPPNAME__`'_signal_$4_notify_callback`'(__CNAME__`'* self, _COMMA_SUFFIX($3)`' void* data)
{
using namespace __NAMESPACE__;
- using SlotType = sigc::slot< void`'_COMMA_PREFIX($6) >;
+ using SlotType = sigc::slot<void($6)>;
auto obj = dynamic_cast<__CPPNAME__*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self));
// Do not try to call a signal on a disassociated wrapper.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]