Browse Source

Avoid deprecated call

git-svn-id: file:///home/vcs/svn/jsweeper/trunk@50 6611ac79-6612-48ef-a1e9-b906f853523e
master
petern 9 years ago
parent
commit
5e37af9853
  1. 2
      src/gui.cpp

2
src/gui.cpp

@ -56,7 +56,7 @@ void Gui::SetPortTypeSeparation()
m_scrolledwindow_audio.remove();
m_scrolledwindow_midi.remove();
if (m_notebook.pages().size() > 0) {
if (m_notebook.get_n_pages() > 0) {
m_notebook.remove(m_scrolledwindow_audio);
m_notebook.remove(m_scrolledwindow_midi);
}

Loading…
Cancel
Save