summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/labelled.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/labelled.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/labelled.cpp')
-rw-r--r--src/ui/widget/labelled.cpp5
1 files changed, 2 insertions, 3 deletions
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);
}