diff --git a/juci/api.cc b/juci/api.cc index acee2cb..ae7534a 100644 --- a/juci/api.cc +++ b/juci/api.cc @@ -205,13 +205,13 @@ Glib::RefPtr libjuci::BufferFromNotebook() { // int i = 0; // while (!PluginApi::notebook_->source_vec_.at(i)->view().has_focus()) { // i++; - //while(!PluginApi::notebook_->CurrentTextView().has_focus()) { + // while(!PluginApi::notebook_->CurrentTextView().has_focus()) { // i++; // } return Glib::RefPtr(PluginApi::notebook_ // ->source_vec_.at(i) // ->view().get_buffer()); - ->CurrentTextView().get_buffer()); + ->CurrentTextView().get_buffer()); } Gtk::TextIter libjuci::IterFromNotebook() { diff --git a/juci/keybindings.cc b/juci/keybindings.cc index b7b8a36..2408155 100644 --- a/juci/keybindings.cc +++ b/juci/keybindings.cc @@ -50,8 +50,7 @@ Keybindings::Config::Config(Keybindings::Config &original) { Keybindings::Config::Config() { menu_xml_ = ""; - std::unordered_map key_map(); -} + } void Keybindings::Config::AppendXml(std::string &child) { menu_xml_ += child;