summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/button.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2012-01-03 00:07:54 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2012-01-03 00:07:54 +0000
commitc0ae0bee37a04c6e79dbe0de00f173c80917ffbe (patch)
tree175bfaf44d18be4d17ebd3803cb0ec7314c2e37e /src/ui/widget/button.cpp
parentadd buttons for node adding at extrema (diff)
downloadinkscape-c0ae0bee37a04c6e79dbe0de00f173c80917ffbe.tar.gz
inkscape-c0ae0bee37a04c6e79dbe0de00f173c80917ffbe.zip
Cleanup GSEAL issues and deprecated GtkTooltips
(bzr r10826)
Diffstat (limited to 'src/ui/widget/button.cpp')
-rw-r--r--src/ui/widget/button.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ui/widget/button.cpp b/src/ui/widget/button.cpp
index ae1dbbe98..1ba531ddf 100644
--- a/src/ui/widget/button.cpp
+++ b/src/ui/widget/button.cpp
@@ -18,19 +18,17 @@ namespace UI {
namespace Widget {
Button::Button(Glib::ustring const &label, Glib::ustring const &tooltip)
- : _tooltips()
{
set_use_underline (true);
set_label (label);
- _tooltips.set_tip(*this, tooltip);
+ set_tooltip_text(tooltip);
}
CheckButton::CheckButton(Glib::ustring const &label, Glib::ustring const &tooltip)
- : _tooltips()
{
set_use_underline (true);
set_label (label);
- _tooltips.set_tip(*this, tooltip);
+ set_tooltip_text(tooltip);
}
} // namespace Widget