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/preferences-widget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/widget/preferences-widget.cpp') diff --git a/src/ui/widget/preferences-widget.cpp b/src/ui/widget/preferences-widget.cpp index 001d2277d..fd68247cf 100644 --- a/src/ui/widget/preferences-widget.cpp +++ b/src/ui/widget/preferences-widget.cpp @@ -110,7 +110,7 @@ void DialogPage::add_line(bool indent, Glib::ustring const &label, Gtk::Widget & if (tip != "") { - _tooltips.set_tip (widget, tip); + widget.set_tooltip_text (tip); } } @@ -131,7 +131,7 @@ void DialogPage::add_group_header(Glib::ustring name) void DialogPage::set_tip(Gtk::Widget& widget, Glib::ustring const &tip) { - _tooltips.set_tip (widget, tip); + widget.set_tooltip_text (tip); } void PrefCheckButton::init(Glib::ustring const &label, Glib::ustring const &prefs_path, -- cgit v1.2.3