diff options
Diffstat (limited to 'src/progs/ingenuity/NewSubpatchWindow.h')
-rw-r--r-- | src/progs/ingenuity/NewSubpatchWindow.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/progs/ingenuity/NewSubpatchWindow.h b/src/progs/ingenuity/NewSubpatchWindow.h index 57c6c7ee..031fa9fd 100644 --- a/src/progs/ingenuity/NewSubpatchWindow.h +++ b/src/progs/ingenuity/NewSubpatchWindow.h @@ -20,7 +20,7 @@ #include "PluginModel.h" #include <libglademm/xml.h> #include <gtkmm.h> -#include "util/CountedPtr.h" +#include "raul/SharedPtr.h" #include "PatchModel.h" using Ingen::Client::PatchModel; using Ingen::Client::MetadataMap; @@ -39,9 +39,9 @@ class NewSubpatchWindow : public Gtk::Window public: NewSubpatchWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& xml); - void set_patch(CountedPtr<PatchModel> patch); + void set_patch(SharedPtr<PatchModel> patch); - void present(CountedPtr<PatchModel> patch, MetadataMap data); + void present(SharedPtr<PatchModel> patch, MetadataMap data); private: void name_changed(); @@ -49,7 +49,7 @@ private: void cancel_clicked(); MetadataMap m_initial_data; - CountedPtr<PatchModel> m_patch; + SharedPtr<PatchModel> m_patch; Gtk::Entry* m_name_entry; Gtk::Label* m_message_label; |