From 198560d5fd499ab14eb4e130ee74e21fa86674a4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 13 May 2011 02:57:36 +0000 Subject: Make models const in client code. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3259 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/NewSubpatchWindow.hpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/gui/NewSubpatchWindow.hpp') diff --git a/src/gui/NewSubpatchWindow.hpp b/src/gui/NewSubpatchWindow.hpp index cf05b31d..5da4c314 100644 --- a/src/gui/NewSubpatchWindow.hpp +++ b/src/gui/NewSubpatchWindow.hpp @@ -42,19 +42,21 @@ namespace GUI { class NewSubpatchWindow : public Window { public: - NewSubpatchWindow(BaseObjectType* cobject, const Glib::RefPtr& xml); + NewSubpatchWindow(BaseObjectType* cobject, + const Glib::RefPtr& xml); - void set_patch(SharedPtr patch); + void set_patch(SharedPtr patch); - void present(SharedPtr patch, GraphObject::Properties data); + void present(SharedPtr patch, + GraphObject::Properties data); private: void name_changed(); void ok_clicked(); void cancel_clicked(); - GraphObject::Properties _initial_data; - SharedPtr _patch; + GraphObject::Properties _initial_data; + SharedPtr _patch; Gtk::Entry* _name_entry; Gtk::Label* _message_label; -- cgit v1.2.1