diff options
Diffstat (limited to 'src/progs/ingenuity/PatchPropertiesWindow.h')
-rw-r--r-- | src/progs/ingenuity/PatchPropertiesWindow.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/progs/ingenuity/PatchPropertiesWindow.h b/src/progs/ingenuity/PatchPropertiesWindow.h index 4f5da674..54e8391a 100644 --- a/src/progs/ingenuity/PatchPropertiesWindow.h +++ b/src/progs/ingenuity/PatchPropertiesWindow.h @@ -20,7 +20,7 @@ #include <string> #include <gtkmm.h> #include <libglademm/xml.h> -#include "util/CountedPtr.h" +#include "raul/SharedPtr.h" using std::string; namespace Ingen { namespace Client { class PatchModel; } } @@ -40,14 +40,14 @@ class PatchPropertiesWindow : public Gtk::Window public: PatchPropertiesWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& refGlade); - void present(CountedPtr<PatchModel> patch_model) { set_patch(patch_model); Gtk::Window::present(); } - void set_patch(CountedPtr<PatchModel> patch_model); + void present(SharedPtr<PatchModel> patch_model) { set_patch(patch_model); Gtk::Window::present(); } + void set_patch(SharedPtr<PatchModel> patch_model); void cancel_clicked(); void ok_clicked(); private: - CountedPtr<PatchModel> m_patch_model; + SharedPtr<PatchModel> m_patch_model; Gtk::Entry* m_author_entry; Gtk::TextView* m_textview; |