File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -30,15 +30,15 @@ connection::connection(slot_base* slot)
30
30
: slot_(slot)
31
31
{
32
32
if (slot_)
33
- slot_->add_destroy_notify_callback (this , ¬ify );
33
+ slot_->add_destroy_notify_callback (this , ¬ify_slot_invalidated );
34
34
}
35
35
36
36
37
37
connection::connection (const connection& c) : slot_(c.slot_)
38
38
{
39
39
// Let the connection forget about the signal handler when the handler object dies:
40
40
if (slot_)
41
- slot_->add_destroy_notify_callback (this , ¬ify );
41
+ slot_->add_destroy_notify_callback (this , ¬ify_slot_invalidated );
42
42
}
43
43
44
44
connection&
@@ -105,11 +105,11 @@ connection::set_slot(slot_base* sl)
105
105
slot_ = sl;
106
106
107
107
if (slot_)
108
- slot_->add_destroy_notify_callback (this , ¬ify );
108
+ slot_->add_destroy_notify_callback (this , ¬ify_slot_invalidated );
109
109
}
110
110
111
111
void
112
- connection::notify (notifiable* data)
112
+ connection::notify_slot_invalidated (notifiable* data)
113
113
{
114
114
auto self = static_cast <connection*>(data);
115
115
self->slot_ = nullptr ;
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ struct SIGC_API connection : public notifiable
101
101
/* * Callback that is executed when the referred slot is destroyed.
102
102
* @param data The connection object notified (@p this).
103
103
*/
104
- static void notify (notifiable* data);
104
+ static void notify_slot_invalidated (notifiable* data);
105
105
106
106
/* Referred slot. Set to zero from notify().
107
107
* A value of zero indicates an "empty" connection.
You can’t perform that action at this time.
0 commit comments