From 6a5a5b0340c71eeaa09a9cb2e1b676f52c58f89b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 30 Nov 2011 21:07:11 +0000 Subject: [PATCH] commit to the "new" tooltip API, use set_tooltip_markup() rather than set_tooltip_text() to allow for more creative tooltips git-svn-id: svn://localhost/ardour2/branches/3.0@10844 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/gtkmm2ext/gtk_ui.cc | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/libs/gtkmm2ext/gtk_ui.cc b/libs/gtkmm2ext/gtk_ui.cc index f45fab6788..9679113b47 100644 --- a/libs/gtkmm2ext/gtk_ui.cc +++ b/libs/gtkmm2ext/gtk_ui.cc @@ -66,9 +66,6 @@ UI::UI (string namestr, int *argc, char ***argv) : AbstractUI (namestr) { theMain = new Main (argc, argv); -#ifndef GTK_NEW_TOOLTIP_API - tips = new Tooltips; -#endif _active = false; @@ -454,16 +451,7 @@ UI::do_request (UIRequest* req) } else if (req->type == SetTip) { -#ifdef GTK_NEW_TOOLTIP_API - /* even if the installed GTK is up to date, - at present (November 2008) our included - version of gtkmm is not. so use the GTK - API that we've verified has the right function. - */ - gtk_widget_set_tooltip_text (req->widget->gobj(), req->msg); -#else - tips->set_tip (*req->widget, req->msg, ""); -#endif + gtk_widget_set_tooltip_markup (req->widget->gobj(), req->msg); } else {