From 503fbbde6ffea6a968d4a4db304ea8e79673f843 Mon Sep 17 00:00:00 2001 From: Techlive Zheng Date: Mon, 3 Jun 2013 09:59:28 +0800 Subject: [PATCH] Clean up the method access scope --- plugins/history/gitg-history-navigation.vala | 30 ++++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/plugins/history/gitg-history-navigation.vala b/plugins/history/gitg-history-navigation.vala index a05ff04a..6b9e874b 100644 --- a/plugins/history/gitg-history-navigation.vala +++ b/plugins/history/gitg-history-navigation.vala @@ -330,10 +330,10 @@ namespace GitgHistory ++d_oid; } - public new Navigation append(string text, - string? name, - string? icon_name, - owned NavigationActivated? callback) + private new Navigation append(string text, + string? name, + string? icon_name, + owned NavigationActivated? callback) { Gtk.TreeIter iter; append_one(text, name, icon_name, Hint.NONE, (owned)callback, out iter); @@ -341,10 +341,10 @@ namespace GitgHistory return this; } - public new Navigation append_default(string text, - string? name, - string? icon_name, - owned NavigationActivated? callback) + private new Navigation append_default(string text, + string? name, + string? icon_name, + owned NavigationActivated? callback) { Gtk.TreeIter iter; append_one(text, name, icon_name, Hint.DEFAULT, (owned)callback, out iter); @@ -352,7 +352,7 @@ namespace GitgHistory return this; } - public new Navigation append_separator() + private new Navigation append_separator() { Gtk.TreeIter iter; append_one("", null, null, Hint.SEPARATOR, null, out iter); @@ -360,8 +360,8 @@ namespace GitgHistory return this; } - public Navigation begin_header(string text, - string? icon_name) + private Navigation begin_header(string text, + string? icon_name) { Gtk.TreeIter iter; @@ -371,7 +371,7 @@ namespace GitgHistory return this; } - public Navigation end_header() + private Navigation end_header() { if (d_parents != null) { @@ -381,18 +381,18 @@ namespace GitgHistory return this; } - public uint begin_section() + private uint begin_section() { d_parents = null; return d_sections; } - public void end_section() + private void end_section() { ++d_sections; } - public void remove_section(uint section) + private void remove_section(uint section) { Gtk.TreeIter iter;