From: Juerg Billeter Date: Wed, 19 Mar 2008 22:58:45 +0000 (+0000) Subject: fix GTimeoutSource and GIdleSource bindings, patch by Phil Housley X-Git-Tag: VALA_0_2_0~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d8b883acca779e76cd7aabd5e7b362b6e199796;p=thirdparty%2Fvala.git fix GTimeoutSource and GIdleSource bindings, patch by Phil Housley 2008-03-19 Juerg Billeter * vapi/glib-2.0.vapi: fix GTimeoutSource and GIdleSource bindings, patch by Phil Housley svn path=/trunk/; revision=1139 --- diff --git a/ChangeLog b/ChangeLog index 941676430..258bdcdf0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-03-19 Jürg Billeter + + * vapi/glib-2.0.vapi: fix GTimeoutSource and GIdleSource bindings, + patch by Phil Housley + 2008-03-19 Jürg Billeter * gobject/valaccodegenerator.vala: fix crash when using lock diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 2510be299..4715f9069 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -1076,7 +1076,8 @@ namespace GLib { } public static delegate int PollFunc (PollFD[] ufds, uint nfsd, int timeout_); - + + [CCode (cname = "GSource")] public class TimeoutSource : Source { public TimeoutSource (uint interval); } @@ -1087,7 +1088,8 @@ namespace GLib { public static uint add_seconds (uint interval, SourceFunc function); public static uint add_seconds_full (int priority, uint interval, SourceFunc function, DestroyNotify notify); } - + + [CCode (cname = "GSource")] public class IdleSource : Source { public IdleSource (); }