code: public void removeGallery(String galleryPath) {
  
          m_searchObject.removeGallery(galleryPath);
          m_searchObjectChanged = true;
          m_galleriesChanged = true;
          ValueChangeEvent.fire(this, m_searchObject);
      }
docs: Remove the gallery from the search object.<p>
  
  @param galleryPath the gallery path as id