summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext/tabbable.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-02-20 22:55:31 +0100
committerRobin Gareus <robin@gareus.org>2017-02-20 22:55:31 +0100
commit3ecd5d6f088ff56de31eb6fbd82379acaa51e5d4 (patch)
tree89216424668a09c925319021db6a29ee2e12b795 /libs/gtkmm2ext/tabbable.cc
parent15eb6f716dcf822ac9f72c0d328207fa4b1cb602 (diff)
Allow to pre-seed Tabbable detached state.
Diffstat (limited to 'libs/gtkmm2ext/tabbable.cc')
-rw-r--r--libs/gtkmm2ext/tabbable.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/gtkmm2ext/tabbable.cc b/libs/gtkmm2ext/tabbable.cc
index 5e4752454e..e4637d6bff 100644
--- a/libs/gtkmm2ext/tabbable.cc
+++ b/libs/gtkmm2ext/tabbable.cc
@@ -35,11 +35,11 @@ using namespace Gtkmm2ext;
using namespace Gtk;
using std::string;
-Tabbable::Tabbable (Widget& w, const string& name)
+Tabbable::Tabbable (Widget& w, const string& name, bool tabbed_by_default)
: WindowProxy (name)
, _contents (w)
, _parent_notebook (0)
- , tab_requested_by_state (true)
+ , tab_requested_by_state (tabbed_by_default)
{
}