vala r1135 - in trunk: . vapi



Author: juergbi
Date: Mon Mar 17 20:04:44 2008
New Revision: 1135
URL: http://svn.gnome.org/viewvc/vala?rev=1135&view=rev

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

	* vapi/glib-2.0.vapi: fix GChildWatch bindings


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	Mon Mar 17 20:04:44 2008
@@ -720,7 +720,7 @@
 
 		[CCode (cname = "G_TYPE_FROM_INSTANCE")]
 		public Type get_type ();
-		public Object @ref ();
+		public weak Object @ref ();
 		public void unref ();
 		public Object ref_sink ();
 		public void get (...);
@@ -1103,15 +1103,15 @@
 	public struct Pid {
 	}
 
-	public static delegate void ChildWatchFunc (Pid pid, int status, pointer data);
+	public delegate void ChildWatchFunc (Pid pid, int status);
 	
 	public class ChildWatchSource : Source {
 		public ChildWatchSource (Pid pid, int status, pointer data);
 	}
 	
 	public static class ChildWatch {
-		public static uint add (Pid pid, ChildWatchFunc function, pointer data);
-		public static uint add_full (int priority, Pid pid, ChildWatchFunc function, pointer data, DestroyNotify notify);
+		public static uint add (Pid pid, ChildWatchFunc function);
+		public static uint add_full (int priority, Pid pid, ChildWatchFunc function, DestroyNotify notify);
 	}
 	
 	public struct PollFD {



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