summaryrefslogtreecommitdiff
path: root/gtk2_ardour/actions.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2005-11-26 00:06:46 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2005-11-26 00:06:46 +0000
commitf69abbff90ac8b8426bb0c6e02a7f4d4a3fd5e6d (patch)
tree3f694b5bb3cdee16813e224eb183a2435605fe78 /gtk2_ardour/actions.h
parent026f506bc6912f1374d21ccccf42542f749a6cb7 (diff)
compiles and runs, but crashes ... duh
git-svn-id: svn://localhost/trunk/ardour2@113 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/actions.h')
-rw-r--r--gtk2_ardour/actions.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/actions.h b/gtk2_ardour/actions.h
index f7f5577f53..2ea2794ab3 100644
--- a/gtk2_ardour/actions.h
+++ b/gtk2_ardour/actions.h
@@ -18,6 +18,8 @@ class ActionManager
ActionManager() {}
virtual ~ActionManager () {}
+ static void init ();
+
static std::vector<Glib::RefPtr<Gtk::Action> > session_sensitive_actions;
static std::vector<Glib::RefPtr<Gtk::Action> > region_list_selection_sensitive_actions;
static std::vector<Glib::RefPtr<Gtk::Action> > region_selection_sensitive_actions;
@@ -27,7 +29,7 @@ class ActionManager
static std::vector<Glib::RefPtr<Gtk::Action> > jack_sensitive_actions;
static std::string unbound_string; /* the key string returned if an action is not bound */
- static Gtk::UIManager ui_manager;
+ static Glib::RefPtr<Gtk::UIManager> ui_manager;
static Gtk::Widget* get_widget (Glib::ustring name);
static Glib::RefPtr<Gtk::Action> get_action (Glib::ustring name);