Re: [Vala] Some basic problems with gstreamer



Klaus Rotter schrieb:
                Timeout.add (200, (Glib.SourceFunc) printPosition);

But it seems I cannot give an argument to Timeout.add like I could do in C g_timeout_add. Is there any reason why all member in class Timeout in glib-2.vapi have no data argument? Or is this an error?

((Timeout) pipeline).add (200, (Glib.SourceFunc) printPosition);

:-)

--
 Klaus Rotter * klaus at rotters dot de * www.rotters.de



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]