Backed out changeset: 159f9e7014f8

This commit is contained in:
Oliver Duis
2012-05-06 23:04:47 +02:00
parent 1483ecb47c
commit 05226a2875
125 changed files with 747 additions and 750 deletions

View File

@@ -32,7 +32,7 @@ void LWButtonSet::add (LWButton* b) {
buttons.push_back (b);
}
void LWButtonSet::getMinimalDimensions (int& w, int& h) const {
void LWButtonSet::getMinimalDimensions (int& w, int& h) {
w=0; h=0;
for (size_t i=0; i<buttons.size(); i++) {
@@ -146,7 +146,7 @@ void LWButtonSet::setButtonListener (LWButtonListener* bl) {
buttons[i]->setButtonListener (bl);
}
void LWButtonSet::getAllocatedDimensions (int& w, int& h) const {
void LWButtonSet::getAllocatedDimensions (int& w, int& h) {
w = aw;
h = ah;
@@ -162,7 +162,7 @@ Glib::ustring LWButtonSet::getToolTip (int x, int y) {
for (size_t i=0; i<buttons.size(); i++) {
Glib::ustring ttip = buttons[i]->getToolTip (x, y);
if (!ttip.empty())
if (ttip!="")
return ttip;
}
return "";