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/labelled.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/ui/widget/labelled.cpp') diff --git a/src/ui/widget/labelled.cpp b/src/ui/widget/labelled.cpp index 0a13d6347..ae3a4c744 100644 --- a/src/ui/widget/labelled.cpp +++ b/src/ui/widget/labelled.cpp @@ -28,8 +28,7 @@ Labelled::Labelled(Glib::ustring const &label, Glib::ustring const &tooltip, bool mnemonic) : _widget(widget), _label(new Gtk::Label(label, 1.0, 0.5, mnemonic)), - _suffix(new Gtk::Label(suffix, 0.0, 0.5)), - _tooltips() + _suffix(new Gtk::Label(suffix, 0.0, 0.5)) { g_assert(g_utf8_validate(icon.c_str(), -1, NULL)); if (icon != "") { @@ -41,7 +40,7 @@ Labelled::Labelled(Glib::ustring const &label, Glib::ustring const &tooltip, if (mnemonic) { _label->set_mnemonic_widget(*_widget); } - _tooltips.set_tip(*_widget, tooltip); + widget->set_tooltip_text(tooltip); } -- cgit v1.2.3