changeset 11979:717cbb3115bc

[gaim-migrate @ 14272] patch from Eoin Coffey to add a GAIM_SUBTYPE_STATUS to GaimType committer: Tailor Script <tailor@pidgin.im>
author Gary Kramlich <grim@reaperworld.com>
date Sat, 05 Nov 2005 01:57:00 +0000
parents 3b6b39b86771
children 67fbd2ff4c4e
files src/account.c src/blist.c src/value.h
diffstat 3 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/account.c	Fri Nov 04 23:18:04 2005 +0000
+++ b/src/account.c	Sat Nov 05 01:57:00 2005 +0000
@@ -2274,8 +2274,10 @@
 						 gaim_marshal_VOID__POINTER_POINTER_POINTER, NULL, 3,
 						 gaim_value_new(GAIM_TYPE_SUBTYPE,
 										GAIM_SUBTYPE_ACCOUNT),
-						 gaim_value_new(GAIM_TYPE_POINTER),
-						 gaim_value_new(GAIM_TYPE_POINTER));
+						 gaim_value_new(GAIM_TYPE_SUBTYPE,
+										GAIM_SUBTYPE_STATUS),
+						 gaim_value_new(GAIM_TYPE_SUBTYPE,
+										GAIM_SUBTYPE_STATUS));
 	
 	load_accounts();
 
--- a/src/blist.c	Fri Nov 04 23:18:04 2005 +0000
+++ b/src/blist.c	Sat Nov 05 01:57:00 2005 +0000
@@ -2548,8 +2548,10 @@
 	                     3,
 	                     gaim_value_new(GAIM_TYPE_SUBTYPE,
 	                                    GAIM_SUBTYPE_BLIST_BUDDY),
-	                     gaim_value_new(GAIM_TYPE_POINTER),
-	                     gaim_value_new(GAIM_TYPE_POINTER));
+	                     gaim_value_new(GAIM_TYPE_SUBTYPE,
+	                     				GAIM_SUBTYPE_STATUS),
+	                     gaim_value_new(GAIM_TYPE_SUBTYPE,
+	                     				GAIM_SUBTYPE_STATUS));
 
 	gaim_signal_register(handle, "buddy-idle-changed",
 	                     gaim_marshal_VOID__POINTER_INT_INT, NULL,
--- a/src/value.h	Fri Nov 04 23:18:04 2005 +0000
+++ b/src/value.h	Sat Nov 05 01:57:00 2005 +0000
@@ -70,7 +70,8 @@
 	GAIM_SUBTYPE_CONV_WINDOW,
 	GAIM_SUBTYPE_PLUGIN,
 	GAIM_SUBTYPE_BLIST_NODE,
-	GAIM_SUBTYPE_CIPHER
+	GAIM_SUBTYPE_CIPHER,
+	GAIM_SUBTYPE_STATUS
 
 } GaimSubType;