Attempt to transition to Vala
This commit is contained in:
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();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user