codegen: Custom abstract methods of GLib.Source are handled differently
[vala-gnome.git] / tests / objects / gsource.vala
blob8ee450f1f9bfc58859d7a9f9af3024197bd32958
1 class FooSource : Source {
2 public override bool prepare (out int timeout) {
3 timeout = 1000;
4 return false;
7 public override bool check () {
8 return false;
11 public override bool dispatch (SourceFunc callback) {
12 return false;
16 void main () {
17 var foo = new FooSource ();