diff options
author | Murray Cumming <murrayc@murrayc.com> | 2004-04-10 21:39:55 +0000 |
---|---|---|
committer | Murray Cumming <murrayc@src.gnome.org> | 2004-04-10 21:39:55 +0000 |
commit | b29c81927b2e49061245ea02e1325da818265caa (patch) | |
tree | 4dac84f0669a266e5513d867f2c2afc8bb7b57c7 /sigc++/connection.cc | |
parent | 53fd67afaf46e31af27b5f3026d2fb0f085285ff (diff) | |
download | sigc++-b29c81927b2e49061245ea02e1325da818265caa.tar.gz |
Implement blocked() to avoid undefined symbol linker error.
2004-04-10 Murray Cumming <murrayc@murrayc.com>
* sigc++/connection.[h|cc]: Implement blocked() to avoid undefined
symbol linker error.
Diffstat (limited to 'sigc++/connection.cc')
-rw-r--r-- | sigc++/connection.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sigc++/connection.cc b/sigc++/connection.cc index eb58cc4..8c2d957 100644 --- a/sigc++/connection.cc +++ b/sigc++/connection.cc @@ -62,6 +62,11 @@ bool connection::connected() const return !empty(); } +bool connection::blocked() const +{ + return (slot_ ? slot_->blocked() : false); +} + bool connection::block(bool should_block) { return (slot_ ? slot_->block(should_block) : false); |