remove Glib::ustring from gtk2_ardour
[ardour.git] / gtk2_ardour / editor_snapshots.h
index 5563778aa5f3af69596b9cc72a1aeaeafb6c78f4..132c2f090cad211087700f4f4b88d291797c3f91 100644 (file)
@@ -23,7 +23,7 @@
 #include <gtkmm/treeview.h>
 #include "editor_component.h"
 
-class EditorSnapshots : public EditorComponent
+class EditorSnapshots : public EditorComponent, public ARDOUR::SessionHandlePtr
 {
 public:
        EditorSnapshots (Editor *);
@@ -45,8 +45,8 @@ private:
                        add (visible_name);
                        add (real_name);
                }
-               Gtk::TreeModelColumn<Glib::ustring> visible_name;
-               Gtk::TreeModelColumn<Glib::ustring> real_name;
+               Gtk::TreeModelColumn<std::string> visible_name;
+               Gtk::TreeModelColumn<std::string> real_name;
        };
 
        Columns _columns;
@@ -56,7 +56,7 @@ private:
 
        bool button_press (GdkEventButton *);
        void selection_changed ();
-       void popup_context_menu (int, int32_t, Glib::ustring);
-       void remove (Glib::ustring);
-       void rename (Glib::ustring);
+       void popup_context_menu (int, int32_t, std::string);
+       void remove (std::string);
+       void rename (std::string);
 };