From c0ae0bee37a04c6e79dbe0de00f173c80917ffbe Mon Sep 17 00:00:00 2001 From: Alex Valavanis Date: Tue, 3 Jan 2012 00:07:54 +0000 Subject: Cleanup GSEAL issues and deprecated GtkTooltips (bzr r10826) --- src/ui/widget/button.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/ui/widget/button.cpp') 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 -- cgit v1.2.3