[gitg] Remove unused method 'remove_section()'
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Remove unused method 'remove_section()'
- Date: Mon, 3 Jun 2013 07:21:17 +0000 (UTC)
commit dd63634192616083588e79fabb3f7c7b88a8e83d
Author: Techlive Zheng <techlivezheng gmail com>
Date: Mon Jun 3 15:00:54 2013 +0800
Remove unused method 'remove_section()'
plugins/history/gitg-history-navigation.vala | 32 --------------------------
1 files changed, 0 insertions(+), 32 deletions(-)
---
diff --git a/plugins/history/gitg-history-navigation.vala b/plugins/history/gitg-history-navigation.vala
index 87b7c82..60f58fa 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();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]