vala r1139 - in trunk: . vapi



Author: juergbi
Date: Wed Mar 19 22:58:45 2008
New Revision: 1139
URL: http://svn.gnome.org/viewvc/vala?rev=1139&view=rev

Log:
2008-03-19  Juerg Billeter  <j bitron ch>

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


Modified:
   trunk/ChangeLog
   trunk/vapi/glib-2.0.vapi

Modified: trunk/vapi/glib-2.0.vapi
==============================================================================
--- trunk/vapi/glib-2.0.vapi	(original)
+++ trunk/vapi/glib-2.0.vapi	Wed Mar 19 22:58:45 2008
@@ -1076,7 +1076,8 @@
 	}
 	
 	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 @@
 		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 ();
 	}



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