diff options
Diffstat (limited to 'src/gui/ObjectMenu.hpp')
-rw-r--r-- | src/gui/ObjectMenu.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/ObjectMenu.hpp b/src/gui/ObjectMenu.hpp index 91743c3a..829db28b 100644 --- a/src/gui/ObjectMenu.hpp +++ b/src/gui/ObjectMenu.hpp @@ -45,7 +45,7 @@ public: ObjectMenu(BaseObjectType* cobject, const Glib::RefPtr<Gtk::Builder>& xml); - void init(SharedPtr<const ObjectModel> object); + void init(App& app, SharedPtr<const ObjectModel> object); protected: void on_menu_learn(); @@ -57,6 +57,7 @@ protected: void property_changed(const Raul::URI& predicate, const Raul::Atom& value); + App* _app; SharedPtr<const ObjectModel> _object; Gtk::MenuItem* _learn_menuitem; Gtk::MenuItem* _unlearn_menuitem; |