Attempt to transition to Vala

This commit is contained in:
Gergely Polonkai 2016-04-27 21:13:30 +02:00
parent d2781a6eb2
commit 009c17b6e2
2 changed files with 26 additions and 0 deletions

13
src/ag-header-bar.vala Normal file
View 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
View 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();
}
}
}
}