Removed unnecessary method, PR #4796

This commit is contained in:
Morgan Hardwood
2018-09-12 13:16:17 +02:00
parent dc34658683
commit ef0d9fac99
3 changed files with 2 additions and 10 deletions

View File

@@ -917,11 +917,6 @@ bool MyExpander::on_enabled_change(GdkEventButton* event)
return false; return false;
} }
void MyExpander::setSensitive(bool makeSensitive)
{
set_sensitive(makeSensitive);
}
/* /*
* *
* Derived class of some widgets to properly handle the scroll wheel ; * Derived class of some widgets to properly handle the scroll wheel ;

View File

@@ -268,9 +268,6 @@ public:
/// Set the collapsed/expanded state of the expander /// Set the collapsed/expanded state of the expander
void set_expanded( bool expanded ); void set_expanded( bool expanded );
// Set whether the expander should be grayed-out.
void setSensitive(bool makeSensitive);
/// Get the collapsed/expanded state of the expander /// Get the collapsed/expanded state of the expander
bool get_expanded(); bool get_expanded();

View File

@@ -151,9 +151,9 @@ void FoldableToolPanel::setGrayedOut(bool doGrayOut)
if (doGrayOut) { if (doGrayOut) {
exp->setEnabled(false); exp->setEnabled(false);
exp->set_expanded(false); exp->set_expanded(false);
exp->setSensitive(false); exp->set_sensitive(false);
} else { } else {
exp->setSensitive(true); exp->set_sensitive(true);
} }
} }