Attempt to transition to Vala
This commit is contained in:
parent
d2781a6eb2
commit
009c17b6e2
13
src/ag-header-bar.vala
Normal file
13
src/ag-header-bar.vala
Normal file
@ -0,0 +1,13 @@
|
||||
namespace Ag {
|
||||
|
||||
class HeaderBar: Gtk.HeaderBar {
|
||||
public void clear()
|
||||
{
|
||||
custom_title = null;
|
||||
|
||||
foreach (Gtk.Widget w in get_children()) {
|
||||
w.hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
13
src/widgets.vala
Normal file
13
src/widgets.vala
Normal file
@ -0,0 +1,13 @@
|
||||
namespace Ag {
|
||||
|
||||
public class HeaderBar : Gtk.HeaderBar {
|
||||
public void clear()
|
||||
{
|
||||
custom_title = null;
|
||||
|
||||
foreach (Gtk.Widget w in get_children()) {
|
||||
w.hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user