diff --git a/gui/wires.cpp b/gui/gui.cpp similarity index 99% rename from gui/wires.cpp rename to gui/gui.cpp index efa264f6..973d8485 100644 --- a/gui/wires.cpp +++ b/gui/gui.cpp @@ -237,7 +237,7 @@ void connect_button(const std::string &name, void (*func)()) get_widget(name)->signal_clicked().connect(sigc::ptr_fun(func)); } -Gtk::Window *connect_wires() +Gtk::Window *setup_gui() { struct Callbacks *cb = get_callbacks(); diff --git a/gui/main.cpp b/gui/main.cpp index 6f0161bc..ac881e1b 100644 --- a/gui/main.cpp +++ b/gui/main.cpp @@ -26,7 +26,7 @@ const std::string share_file(const std::string &file) Gtk::Window *ocarina_init(int *argc, char ***argv) { - Gtk::Window *window = connect_wires(); + Gtk::Window *window = setup_gui(); audio::init(argc, argv); deck::init(); library::init(); diff --git a/include/ocarina.h b/include/ocarina.h index 40c4b18d..c5a35f8d 100644 --- a/include/ocarina.h +++ b/include/ocarina.h @@ -56,10 +56,10 @@ public: }; -/* wires.cpp */ +/* gui.cpp */ void enable_idle(); void connect_button(const std::string &, void (*func)()); -Gtk::Window *connect_wires(); +Gtk::Window *setup_gui(); Glib::RefPtr &get_builder(); template