Remove unused method 'remove_section()'

This commit is contained in:
Techlive Zheng 2013-06-03 15:00:54 +08:00
parent 2003157374
commit dd63634192

View file

@ -368,38 +368,6 @@ namespace GitgHistory
++d_sections;
}
private void remove_section(uint section)
{
Gtk.TreeIter iter;
if (!get_iter_first(out iter))
{
return;
}
while (true)
{
uint s;
@get(iter, Column.SECTION, out s);
if (s == section)
{
if (!base.remove(ref iter))
{
break;
}
}
else
{
if (!iter_next(ref iter))
{
break;
}
}
}
}
public new void clear()
{
base.clear();