]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
fix GTimeoutSource and GIdleSource bindings, patch by Phil Housley
authorJuerg Billeter <j@bitron.ch>
Wed, 19 Mar 2008 22:58:45 +0000 (22:58 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Wed, 19 Mar 2008 22:58:45 +0000 (22:58 +0000)
2008-03-19  Juerg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi: fix GTimeoutSource and GIdleSource bindings,
  patch by Phil Housley

svn path=/trunk/; revision=1139

ChangeLog
vapi/glib-2.0.vapi

index 941676430a65d2d811265016a8a7fa162e5e8e11..258bdcdf02d545d561f0377b4e1646f1f218a6a6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-03-19  Jürg Billeter  <j@bitron.ch>
+
+       * vapi/glib-2.0.vapi: fix GTimeoutSource and GIdleSource bindings,
+         patch by Phil Housley
+
 2008-03-19  Jürg Billeter  <j@bitron.ch>
 
        * gobject/valaccodegenerator.vala: fix crash when using lock
index 2510be299da8504aae8a1f7aa5f21193f3b9f130..4715f906985bf7e7bcf34060473a69b90dd69261 100644 (file)
@@ -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 ();
        }