Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
12241:4777c5912068 | 12242:976677e67239 |
---|---|
17 void * handle | 17 void * handle |
18 const char *subject | 18 const char *subject |
19 const char *from | 19 const char *from |
20 const char *to | 20 const char *to |
21 const char *url | 21 const char *url |
22 GHookFunc cb | 22 Gaim::NotifyCloseCallback cb |
23 void * user_data | 23 gpointer user_data |
24 | 24 |
25 | 25 |
26 void * | 26 void * |
27 gaim_notify_emails(handle, count, detailed, subjects, froms, tos, urls, cb, user_data) | 27 gaim_notify_emails(handle, count, detailed, subjects, froms, tos, urls, cb, user_data) |
28 void * handle | 28 void * handle |
30 gboolean detailed | 30 gboolean detailed |
31 const char **subjects | 31 const char **subjects |
32 const char **froms | 32 const char **froms |
33 const char **tos | 33 const char **tos |
34 const char **urls | 34 const char **urls |
35 GHookFunc cb | 35 Gaim::NotifyCloseCallback cb |
36 void * user_data | 36 gpointer user_data |
37 | 37 |
38 | 38 |
39 void * | 39 void * |
40 gaim_notify_formatted(handle, title, primary, secondary, text, cb, user_data) | 40 gaim_notify_formatted(handle, title, primary, secondary, text, cb, user_data) |
41 void * handle | 41 void * handle |
42 const char *title | 42 const char *title |
43 const char *primary | 43 const char *primary |
44 const char *secondary | 44 const char *secondary |
45 const char *text | 45 const char *text |
46 GHookFunc cb | 46 Gaim::NotifyCloseCallback cb |
47 void * user_data | 47 gpointer user_data |
48 | 48 |
49 | 49 |
50 Gaim::NotifyUiOps | 50 Gaim::NotifyUiOps |
51 gaim_notify_get_ui_ops() | 51 gaim_notify_get_ui_ops() |
52 | 52 |
56 void * handle | 56 void * handle |
57 Gaim::NotifyMsgType type | 57 Gaim::NotifyMsgType type |
58 const char *title | 58 const char *title |
59 const char *primary | 59 const char *primary |
60 const char *secondary | 60 const char *secondary |
61 GHookFunc cb | 61 Gaim::NotifyCloseCallback cb |
62 void * user_data | 62 gpointer user_data |
63 | 63 |
64 | 64 |
65 void * | 65 void * |
66 gaim_notify_searchresults(gc, title, primary, secondary, results, cb, user_data) | 66 gaim_notify_searchresults(gc, title, primary, secondary, results, cb, user_data) |
67 Gaim::Connection gc | 67 Gaim::Connection gc |
68 const char *title | 68 const char *title |
69 const char *primary | 69 const char *primary |
70 const char *secondary | 70 const char *secondary |
71 Gaim::NotifySearchResults results | 71 Gaim::NotifySearchResults results |
72 GHookFunc cb | 72 Gaim::NotifyCloseCallback cb |
73 void * user_data | 73 gpointer user_data |
74 | 74 |
75 void | 75 void |
76 gaim_notify_set_ui_ops(ops) | 76 gaim_notify_set_ui_ops(ops) |
77 Gaim::NotifyUiOps ops | 77 Gaim::NotifyUiOps ops |
78 | 78 |
84 void * | 84 void * |
85 gaim_notify_userinfo(gc, who, text, cb, user_data) | 85 gaim_notify_userinfo(gc, who, text, cb, user_data) |
86 Gaim::Connection gc | 86 Gaim::Connection gc |
87 const char *who | 87 const char *who |
88 const char *text | 88 const char *text |
89 GHookFunc cb | 89 Gaim::NotifyCloseCallback cb |
90 void * user_data | 90 gpointer user_data |
91 | 91 |
92 | 92 |