+static void
+reset_cursor_to_default (Gtk::Entry* widget)
+{
+ Glib::RefPtr<Gdk::Window> win = widget->get_text_window ();
+ if (win) {
+ /* C++ doesn't provide a pointer argument version of this
+ (i.e. you cannot set to NULL to get the default/parent
+ cursor)
+ */
+ gdk_window_set_cursor (win->gobj(), 0);
+ }
+}
+
+static void
+reset_cursor_to_default_state (Gtk::StateType, Gtk::Entry* widget)
+{
+ reset_cursor_to_default (widget);
+}
+
+sigc::signal<void, ARDOUR::AutoState> GainMeterBase::ChangeGainAutomationState;
+