mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-08-27 20:09:23 +00:00
Clean up the method access scope
This commit is contained in:
parent
ca1fab7f2d
commit
503fbbde6f
|
@ -330,10 +330,10 @@ namespace GitgHistory
|
||||||
++d_oid;
|
++d_oid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public new Navigation append(string text,
|
private new Navigation append(string text,
|
||||||
string? name,
|
string? name,
|
||||||
string? icon_name,
|
string? icon_name,
|
||||||
owned NavigationActivated? callback)
|
owned NavigationActivated? callback)
|
||||||
{
|
{
|
||||||
Gtk.TreeIter iter;
|
Gtk.TreeIter iter;
|
||||||
append_one(text, name, icon_name, Hint.NONE, (owned)callback, out iter);
|
append_one(text, name, icon_name, Hint.NONE, (owned)callback, out iter);
|
||||||
|
@ -341,10 +341,10 @@ namespace GitgHistory
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public new Navigation append_default(string text,
|
private new Navigation append_default(string text,
|
||||||
string? name,
|
string? name,
|
||||||
string? icon_name,
|
string? icon_name,
|
||||||
owned NavigationActivated? callback)
|
owned NavigationActivated? callback)
|
||||||
{
|
{
|
||||||
Gtk.TreeIter iter;
|
Gtk.TreeIter iter;
|
||||||
append_one(text, name, icon_name, Hint.DEFAULT, (owned)callback, out iter);
|
append_one(text, name, icon_name, Hint.DEFAULT, (owned)callback, out iter);
|
||||||
|
@ -352,7 +352,7 @@ namespace GitgHistory
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public new Navigation append_separator()
|
private new Navigation append_separator()
|
||||||
{
|
{
|
||||||
Gtk.TreeIter iter;
|
Gtk.TreeIter iter;
|
||||||
append_one("", null, null, Hint.SEPARATOR, null, out iter);
|
append_one("", null, null, Hint.SEPARATOR, null, out iter);
|
||||||
|
@ -360,8 +360,8 @@ namespace GitgHistory
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Navigation begin_header(string text,
|
private Navigation begin_header(string text,
|
||||||
string? icon_name)
|
string? icon_name)
|
||||||
{
|
{
|
||||||
Gtk.TreeIter iter;
|
Gtk.TreeIter iter;
|
||||||
|
|
||||||
|
@ -371,7 +371,7 @@ namespace GitgHistory
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Navigation end_header()
|
private Navigation end_header()
|
||||||
{
|
{
|
||||||
if (d_parents != null)
|
if (d_parents != null)
|
||||||
{
|
{
|
||||||
|
@ -381,18 +381,18 @@ namespace GitgHistory
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public uint begin_section()
|
private uint begin_section()
|
||||||
{
|
{
|
||||||
d_parents = null;
|
d_parents = null;
|
||||||
return d_sections;
|
return d_sections;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void end_section()
|
private void end_section()
|
||||||
{
|
{
|
||||||
++d_sections;
|
++d_sections;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void remove_section(uint section)
|
private void remove_section(uint section)
|
||||||
{
|
{
|
||||||
Gtk.TreeIter iter;
|
Gtk.TreeIter iter;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue