diff options
author | Murray Cumming <murrayc@murrayc.com> | 2016-03-31 14:19:00 +0200 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2016-03-31 14:19:47 +0200 |
commit | 5286736b5d8589869b1455a1c257298a42248748 (patch) | |
tree | 17a3aafbc9dda51ee090c060468fbafdffc21ac1 | |
parent | f4f629d431673ba0cf6b40d6089ba187355ec0f2 (diff) | |
download | glibmm-5286736b5d8589869b1455a1c257298a42248748.tar.gz |
sigc3: SignalProxy: Use sigc::clost<R(Args...)> syntax.
-rw-r--r-- | 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 5b680f43..b1a53bcd 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. |