diff options
Diffstat (limited to 'src/gui/GraphTreeWindow.hpp')
-rw-r--r-- | src/gui/GraphTreeWindow.hpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/GraphTreeWindow.hpp b/src/gui/GraphTreeWindow.hpp index eb5a5f78..c1ea53c2 100644 --- a/src/gui/GraphTreeWindow.hpp +++ b/src/gui/GraphTreeWindow.hpp @@ -47,16 +47,16 @@ public: void init(App& app, client::ClientStore& store); - void new_object(SPtr<client::ObjectModel> object); + void new_object(const SPtr<client::ObjectModel>& object); - void graph_property_changed(const URI& key, - const Atom& value, - SPtr<client::GraphModel> graph); + void graph_property_changed(const URI& key, + const Atom& value, + const SPtr<client::GraphModel>& graph); - void graph_moved(SPtr<client::GraphModel> graph); + void graph_moved(const SPtr<client::GraphModel>& graph); - void add_graph(SPtr<client::GraphModel> pm); - void remove_graph(SPtr<client::GraphModel> pm); + void add_graph(const SPtr<client::GraphModel>& pm); + void remove_graph(const SPtr<client::GraphModel>& pm); void show_graph_menu(GdkEventButton* ev); protected: @@ -67,7 +67,7 @@ protected: Gtk::TreeModel::iterator find_graph( Gtk::TreeModel::Children root, - SPtr<client::ObjectModel> graph); + const SPtr<client::ObjectModel>& graph); GraphTreeView* _graphs_treeview; |