diff options
Diffstat (limited to 'libs/gtkmm2ext/tearoff.cc')
-rw-r--r-- | libs/gtkmm2ext/tearoff.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/gtkmm2ext/tearoff.cc b/libs/gtkmm2ext/tearoff.cc index bc8829d94f..0f214dda95 100644 --- a/libs/gtkmm2ext/tearoff.cc +++ b/libs/gtkmm2ext/tearoff.cc @@ -112,7 +112,7 @@ TearOff::set_can_be_torn_off (bool yn) } void -TearOff::set_visible (bool yn) +TearOff::set_visible (bool yn, bool force) { /* don't change visibility if torn off */ @@ -120,7 +120,7 @@ TearOff::set_visible (bool yn) return; } - if (_visible != yn) { + if (_visible != yn || force) { _visible = yn; if (yn) { show_all(); |