From dd63634192616083588e79fabb3f7c7b88a8e83d Mon Sep 17 00:00:00 2001 From: Techlive Zheng Date: Mon, 3 Jun 2013 15:00:54 +0800 Subject: [PATCH] Remove unused method 'remove_section()' --- plugins/history/gitg-history-navigation.vala | 32 -------------------- 1 file changed, 32 deletions(-) diff --git a/plugins/history/gitg-history-navigation.vala b/plugins/history/gitg-history-navigation.vala index 87b7c82b..60f58fab 100644 --- a/plugins/history/gitg-history-navigation.vala +++ b/plugins/history/gitg-history-navigation.vala @@ -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();