X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fmouse_cursors.cc;h=afe743a7d3225d4eb3fd8fee1fbc779a11b9e21c;hb=1e97c09eed646adb030fd198d9ced9530bae20cb;hp=b50bfa11c6d1c0f4b34bd8a9e02b6a2ae2688358;hpb=22435bb53d31d15870985aef23630ad20b6973e9;p=ardour.git diff --git a/gtk2_ardour/mouse_cursors.cc b/gtk2_ardour/mouse_cursors.cc index b50bfa11c6..afe743a7d3 100644 --- a/gtk2_ardour/mouse_cursors.cc +++ b/gtk2_ardour/mouse_cursors.cc @@ -72,6 +72,11 @@ MouseCursors::MouseCursors () { } +MouseCursors::~MouseCursors () +{ + drop_all (); +} + void MouseCursors::drop_all () { @@ -147,8 +152,8 @@ MouseCursors::set_cursor_set (const std::string& name) } /* these will throw exceptions if their images cannot be found. - - the default hotspot coordinates will be overridden by any + + the default hotspot coordinates will be overridden by any data found by Gtkmm2ext::Cursors::load_cursor_info(). the values here from the set of cursors used by Ardour; new cursor/icon sets should come with a hotspot info file.