mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-10-30 17:39:46 +00:00
27 lines
376 B
Vala
27 lines
376 B
Vala
using Gtk;
|
|
using GitgGtk;
|
|
|
|
class TestDashView
|
|
{
|
|
public static int main(string[] args)
|
|
{
|
|
Gtk.init(ref args);
|
|
Gitg.init();
|
|
|
|
var window = new Window();
|
|
window.set_default_size(300, 300);
|
|
window.add(new DashView());
|
|
window.show_all();
|
|
|
|
window.delete_event.connect((w, ev) => {
|
|
Gtk.main_quit();
|
|
return true;
|
|
});
|
|
|
|
Gtk.main();
|
|
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
// vi:ts=4
|