[vala] Twitter-glib bindings: Fix error types



commit 96187c91265c221702cbf0c2a2253011278b473e
Author: Adrien Bustany <abustany gnome org>
Date:   Tue Mar 2 11:52:04 2010 -0300

    Twitter-glib bindings: Fix error types
    
    Errors in the TwitterClient signals were typed as gpointer. This commit changes
    their type to GError.

 vapi/packages/twitter-glib-1.0/twitter-glib-1.0.gi |    6 +++---
 vapi/twitter-glib-1.0.vapi                         |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/vapi/packages/twitter-glib-1.0/twitter-glib-1.0.gi b/vapi/packages/twitter-glib-1.0/twitter-glib-1.0.gi
index e0aff70..8f0010c 100644
--- a/vapi/packages/twitter-glib-1.0/twitter-glib-1.0.gi
+++ b/vapi/packages/twitter-glib-1.0/twitter-glib-1.0.gi
@@ -295,7 +295,7 @@
 					<parameter name="client" type="TwitterClient*"/>
 					<parameter name="handle" type="gulong"/>
 					<parameter name="status" type="TwitterStatus*"/>
-					<parameter name="error" type="gpointer"/>
+					<parameter name="error" type="GError*"/>
 				</parameters>
 			</signal>
 			<signal name="timeline-complete" when="LAST">
@@ -310,7 +310,7 @@
 					<parameter name="client" type="TwitterClient*"/>
 					<parameter name="handle" type="gulong"/>
 					<parameter name="user" type="TwitterUser*"/>
-					<parameter name="error" type="gpointer"/>
+					<parameter name="error" type="GError*"/>
 				</parameters>
 			</signal>
 			<signal name="user-verified" when="LAST">
@@ -319,7 +319,7 @@
 					<parameter name="client" type="TwitterClient*"/>
 					<parameter name="handle" type="gulong"/>
 					<parameter name="is_verified" type="gboolean"/>
-					<parameter name="error" type="gpointer"/>
+					<parameter name="error" type="GError*"/>
 				</parameters>
 			</signal>
 		</object>
diff --git a/vapi/twitter-glib-1.0.vapi b/vapi/twitter-glib-1.0.vapi
index e107d26..d34a340 100644
--- a/vapi/twitter-glib-1.0.vapi
+++ b/vapi/twitter-glib-1.0.vapi
@@ -50,10 +50,10 @@ namespace Twitter {
 		public string user_agent { owned get; construct; }
 		public virtual signal bool authenticate (Twitter.AuthState state);
 		public virtual signal void session_ended ();
-		public virtual signal void status_received (ulong handle, Twitter.Status status, void* error);
+		public virtual signal void status_received (ulong handle, Twitter.Status status, GLib.Error error);
 		public virtual signal void timeline_complete ();
-		public virtual signal void user_received (ulong handle, Twitter.User user, void* error);
-		public virtual signal void user_verified (ulong handle, bool is_verified, void* error);
+		public virtual signal void user_received (ulong handle, Twitter.User user, GLib.Error error);
+		public virtual signal void user_verified (ulong handle, bool is_verified, GLib.Error error);
 	}
 	[CCode (cheader_filename = "twitter-glib/twitter-glib.h")]
 	public class Status : GLib.InitiallyUnowned {



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