diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2012-01-03 00:07:54 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2012-01-03 00:07:54 +0000 |
| commit | c0ae0bee37a04c6e79dbe0de00f173c80917ffbe (patch) | |
| tree | 175bfaf44d18be4d17ebd3803cb0ec7314c2e37e /src/ui/widget/button.cpp | |
| parent | add buttons for node adding at extrema (diff) | |
| download | inkscape-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.cpp | 6 |
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 |
