Use newer Tooltip API. gvbam now builds with GTKMM_DISABLE_DEPRECATED


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@499 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
bgk 2008-04-27 18:05:58 +00:00
parent 2f6705fcff
commit 8b9962839a
2 changed files with 1 additions and 3 deletions

View File

@ -1339,7 +1339,7 @@ void Window::vUpdateHistoryMenu()
Glib::ustring sLabel = Glib::path_get_basename(*it);
VBA::ImageMenuItem * poIMI = Gtk::manage(new VBA::ImageMenuItem(*poImage, sLabel));
m_oTooltips.set_tip(*poIMI, *it);
poIMI->set_tooltip_text(*it);
poIMI->signal_activate().connect(sigc::bind(
sigc::mem_fun(*this, &Window::vOnRecentFile),

View File

@ -264,8 +264,6 @@ private:
std::list<Gtk::Widget *> m_listSensitiveWhenPlaying;
Gtk::Tooltips m_oTooltips;
sigc::connection m_oEmuSig;
std::vector<JoypadConfig> m_oJoypads;