diff plugins/perl/common/Notify.xs @ 12242:976677e67239

[gaim-migrate @ 14544] Rework the notify API close callbacks. They are now called by the core, instead of the UI. Prior to a couple days ago, they weren't actually implemented in the UI at all. As a side note, if anyone knows why gpointer is declared as a T_GaimObj instead of a T_PTR, please let me know. That seems wrong, especially since void * is a T_PTR and gconstpointer is a T_PTR. This may or may not cause problems for the notify change (void * -> gpointer) to user_data. NOTE: I did not change this, even though I think it's wrong. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 28 Nov 2005 01:50:56 +0000
parents 62bed9e1bce0
children 96f9b4798012
line wrap: on
line diff
--- a/plugins/perl/common/Notify.xs	Mon Nov 28 01:43:53 2005 +0000
+++ b/plugins/perl/common/Notify.xs	Mon Nov 28 01:50:56 2005 +0000
@@ -19,8 +19,8 @@
 	const char *from
 	const char *to
 	const char *url
-	GHookFunc cb
-	void * user_data
+	Gaim::NotifyCloseCallback cb
+	gpointer user_data
  
 
 void *
@@ -32,8 +32,8 @@
 	const char **froms
 	const char **tos
 	const char **urls
-	GHookFunc cb
-	void * user_data
+	Gaim::NotifyCloseCallback cb
+	gpointer user_data
  
 
 void *
@@ -43,8 +43,8 @@
 	const char *primary
 	const char *secondary
 	const char *text
-	GHookFunc cb
-	void * user_data
+	Gaim::NotifyCloseCallback cb
+	gpointer user_data
  
 
 Gaim::NotifyUiOps
@@ -58,8 +58,8 @@
 	const char *title
 	const char *primary
 	const char *secondary
-	GHookFunc cb
-	void * user_data
+	Gaim::NotifyCloseCallback cb
+	gpointer user_data
  
 
 void *
@@ -69,8 +69,8 @@
 	const char *primary
 	const char *secondary
 	Gaim::NotifySearchResults results
-	GHookFunc cb
-	void * user_data
+	Gaim::NotifyCloseCallback cb
+	gpointer user_data
 
 void 
 gaim_notify_set_ui_ops(ops)
@@ -86,7 +86,7 @@
 	Gaim::Connection gc
 	const char *who
 	const char *text
-	GHookFunc cb
-	void * user_data
+	Gaim::NotifyCloseCallback cb
+	gpointer user_data