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/labelled.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/labelled.cpp')
| -rw-r--r-- | src/ui/widget/labelled.cpp | 5 |
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); } |
