diff libgaim/ft.c @ 14618:2f0b4d0de5bb

[gaim-migrate @ 17346] Fix the argument GaimValue types in a handful of signal registrations. These being wrong didn't matter to things that knew/guessed what their arguments were (i.e. C functions) but did matter to things that needed to trust the GaimValue type information for the types (i.e plugin loaders). I'm pretty sure I got this all right, it matches the docs at least. I still think there are a couple problems (namely the *-timestamp functions returning a GAIM_TYPE_POINTER instead of a GAIM_TYPE_STRING) but these were much more obvious. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Mon, 25 Sep 2006 06:01:12 +0000
parents 60b1bc8dbf37
children 118fd0dc5b6e
line wrap: on
line diff
--- a/libgaim/ft.c	Mon Sep 25 03:35:02 2006 +0000
+++ b/libgaim/ft.c	Mon Sep 25 06:01:12 2006 +0000
@@ -1183,41 +1183,41 @@
 
 	/* register signals */
 	gaim_signal_register(handle, "file-recv-accept",
-						 gaim_marshal_VOID__POINTER,
-						 NULL, 1,
-						 gaim_value_new(GAIM_TYPE_SUBTYPE, GAIM_SUBTYPE_XFER));
+	                     gaim_marshal_VOID__POINTER, NULL, 1,
+	                     gaim_value_new(GAIM_TYPE_SUBTYPE,
+	                                    GAIM_SUBTYPE_XFER));
 	gaim_signal_register(handle, "file-send-accept",
-						 gaim_marshal_VOID__POINTER,
-						 NULL, 1,
-						 gaim_value_new(GAIM_TYPE_POINTER, GAIM_SUBTYPE_XFER));
+	                     gaim_marshal_VOID__POINTER, NULL, 1,
+	                     gaim_value_new(GAIM_TYPE_SUBTYPE,
+	                                    GAIM_SUBTYPE_XFER));
 	gaim_signal_register(handle, "file-recv-start",
-						 gaim_marshal_VOID__POINTER,
-						 NULL, 1,
-						 gaim_value_new(GAIM_TYPE_POINTER, GAIM_SUBTYPE_XFER));
+	                     gaim_marshal_VOID__POINTER, NULL, 1,
+	                     gaim_value_new(GAIM_TYPE_SUBTYPE,
+	                                    GAIM_SUBTYPE_XFER));
 	gaim_signal_register(handle, "file-send-start",
-						 gaim_marshal_VOID__POINTER,
-						 NULL, 1,
-						 gaim_value_new(GAIM_TYPE_POINTER, GAIM_SUBTYPE_XFER));
+	                     gaim_marshal_VOID__POINTER, NULL, 1,
+	                     gaim_value_new(GAIM_TYPE_SUBTYPE,
+	                                    GAIM_SUBTYPE_XFER));
 	gaim_signal_register(handle, "file-send-cancel",
-						 gaim_marshal_VOID__POINTER,
-						 NULL, 1,
-						 gaim_value_new(GAIM_TYPE_POINTER, GAIM_SUBTYPE_XFER));
+	                     gaim_marshal_VOID__POINTER, NULL, 1,
+	                     gaim_value_new(GAIM_TYPE_SUBTYPE,
+	                                    GAIM_SUBTYPE_XFER));
 	gaim_signal_register(handle, "file-recv-cancel",
-						 gaim_marshal_VOID__POINTER,
-						 NULL, 1,
-						 gaim_value_new(GAIM_TYPE_POINTER, GAIM_SUBTYPE_XFER));
+	                     gaim_marshal_VOID__POINTER, NULL, 1,
+	                     gaim_value_new(GAIM_TYPE_SUBTYPE,
+	                                    GAIM_SUBTYPE_XFER));
 	gaim_signal_register(handle, "file-send-complete",
-						 gaim_marshal_VOID__POINTER,
-						 NULL, 1,
-						 gaim_value_new(GAIM_TYPE_POINTER, GAIM_SUBTYPE_XFER));
+	                     gaim_marshal_VOID__POINTER, NULL, 1,
+	                     gaim_value_new(GAIM_TYPE_SUBTYPE,
+	                                    GAIM_SUBTYPE_XFER));
 	gaim_signal_register(handle, "file-recv-complete",
-						 gaim_marshal_VOID__POINTER,
-						 NULL, 1,
-						 gaim_value_new(GAIM_TYPE_POINTER, GAIM_SUBTYPE_XFER));
+	                     gaim_marshal_VOID__POINTER, NULL, 1,
+	                     gaim_value_new(GAIM_TYPE_SUBTYPE,
+	                                    GAIM_SUBTYPE_XFER));
 	gaim_signal_register(handle, "file-recv-request",
-						 gaim_marshal_VOID__POINTER,
-						 NULL, 1,
-						 gaim_value_new(GAIM_TYPE_POINTER, GAIM_SUBTYPE_XFER));
+	                     gaim_marshal_VOID__POINTER, NULL, 1,
+	                     gaim_value_new(GAIM_TYPE_SUBTYPE,
+	                                    GAIM_SUBTYPE_XFER));
 }
 
 void