Mercurial > pidgin.yaz
comparison plugins/signals-test.c @ 7517:767d3db53e17
[gaim-migrate @ 8130]
And so I thought to myself, why not replace the gaim_debug with the
short-hand gaim_debug_misc functiosn in signals-test.c?
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 15 Nov 2003 08:34:01 +0000 |
parents | 4749299f199a |
children | d7b8eb1f0a18 |
comparison
equal
deleted
inserted
replaced
7516:4749299f199a | 7517:767d3db53e17 |
---|---|
33 * Account subsystem signal callbacks | 33 * Account subsystem signal callbacks |
34 **************************************************************************/ | 34 **************************************************************************/ |
35 static void | 35 static void |
36 account_connecting_cb(GaimAccount *account, void *data) | 36 account_connecting_cb(GaimAccount *account, void *data) |
37 { | 37 { |
38 gaim_debug(GAIM_DEBUG_MISC, "signals test", "account-connecting (%s)\n", | 38 gaim_debug_misc("signals test", "account-connecting (%s)\n", |
39 gaim_account_get_username(account)); | 39 gaim_account_get_username(account)); |
40 } | 40 } |
41 | 41 |
42 static void | 42 static void |
43 account_away_cb(GaimAccount *account, const char *state, | 43 account_away_cb(GaimAccount *account, const char *state, |
44 const char *message, void *data) | 44 const char *message, void *data) |
45 { | 45 { |
46 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 46 gaim_debug_misc("signals test", "account-away (%s, %s, %s)\n", |
47 "account-away (%s, %s, %s)\n", | 47 gaim_account_get_username(account), state, message); |
48 gaim_account_get_username(account), state, message); | |
49 } | 48 } |
50 | 49 |
51 static void | 50 static void |
52 account_setting_info_cb(GaimAccount *account, const char *info, void *data) | 51 account_setting_info_cb(GaimAccount *account, const char *info, void *data) |
53 { | 52 { |
54 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 53 gaim_debug_misc("signals test", "account-setting-info (%s, %s)\n", |
55 "account-setting-info (%s, %s)\n", | 54 gaim_account_get_username(account), info); |
56 gaim_account_get_username(account), info); | |
57 } | 55 } |
58 | 56 |
59 static void | 57 static void |
60 account_set_info_cb(GaimAccount *account, const char *info, void *data) | 58 account_set_info_cb(GaimAccount *account, const char *info, void *data) |
61 { | 59 { |
62 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 60 gaim_debug_misc("signals test", "account-set-info (%s, %s)\n", |
63 "account-set-info (%s, %s)\n", | 61 gaim_account_get_username(account), info); |
64 gaim_account_get_username(account), info); | |
65 } | 62 } |
66 | 63 |
67 static void | 64 static void |
68 account_warned_cb(GaimAccount *account, const char *warner, int level, | 65 account_warned_cb(GaimAccount *account, const char *warner, int level, |
69 void *data) | 66 void *data) |
70 { | 67 { |
71 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 68 gaim_debug_misc("signals test", "account-warned (%s, %s, %d)\n", |
72 "account-warned (%s, %s, %d)\n", | 69 gaim_account_get_username(account), warner, level); |
73 gaim_account_get_username(account), warner, level); | |
74 } | 70 } |
75 | 71 |
76 /************************************************************************** | 72 /************************************************************************** |
77 * Buddy List subsystem signal callbacks | 73 * Buddy List subsystem signal callbacks |
78 **************************************************************************/ | 74 **************************************************************************/ |
79 static void | 75 static void |
80 buddy_away_cb(GaimBuddy *buddy, void *data) | 76 buddy_away_cb(GaimBuddy *buddy, void *data) |
81 { | 77 { |
82 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 78 gaim_debug_misc("signals test", "buddy-away (%s)\n", buddy->name); |
83 "buddy-away (%s)\n", buddy->name); | |
84 } | 79 } |
85 | 80 |
86 static void | 81 static void |
87 buddy_back_cb(GaimBuddy *buddy, void *data) | 82 buddy_back_cb(GaimBuddy *buddy, void *data) |
88 { | 83 { |
89 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 84 gaim_debug_misc("signals test", "buddy-back (%s)\n", buddy->name); |
90 "buddy-back (%s)\n", buddy->name); | |
91 } | 85 } |
92 | 86 |
93 static void | 87 static void |
94 buddy_idle_cb(GaimBuddy *buddy, void *data) | 88 buddy_idle_cb(GaimBuddy *buddy, void *data) |
95 { | 89 { |
96 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 90 gaim_debug_misc("signals test", "buddy-idle (%s)\n", buddy->name); |
97 "buddy-idle (%s)\n", buddy->name); | |
98 } | 91 } |
99 | 92 |
100 static void | 93 static void |
101 buddy_unidle_cb(GaimBuddy *buddy, void *data) | 94 buddy_unidle_cb(GaimBuddy *buddy, void *data) |
102 { | 95 { |
103 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 96 gaim_debug_misc("signals test", "buddy-unidle (%s)\n", buddy->name); |
104 "buddy-unidle (%s)\n", buddy->name); | |
105 } | 97 } |
106 | 98 |
107 static void | 99 static void |
108 buddy_signed_on_cb(GaimBuddy *buddy, void *data) | 100 buddy_signed_on_cb(GaimBuddy *buddy, void *data) |
109 { | 101 { |
110 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 102 gaim_debug_misc("signals test", "buddy-signed-on (%s)\n", buddy->name); |
111 "buddy-signed-on (%s)\n", buddy->name); | |
112 } | 103 } |
113 | 104 |
114 static void | 105 static void |
115 buddy_signed_off_cb(GaimBuddy *buddy, void *data) | 106 buddy_signed_off_cb(GaimBuddy *buddy, void *data) |
116 { | 107 { |
117 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 108 gaim_debug_misc("signals test", "buddy-signed-off (%s)\n", buddy->name); |
118 "buddy-signed-off (%s)\n", buddy->name); | |
119 } | 109 } |
120 | 110 |
121 /************************************************************************** | 111 /************************************************************************** |
122 * Connection subsystem signal callbacks | 112 * Connection subsystem signal callbacks |
123 **************************************************************************/ | 113 **************************************************************************/ |
124 static void | 114 static void |
125 signing_on_cb(GaimConnection *gc, void *data) | 115 signing_on_cb(GaimConnection *gc, void *data) |
126 { | 116 { |
127 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 117 gaim_debug_misc("signals test", "signing-on (%s)\n", |
128 "signing-on (%s)\n", | 118 gaim_account_get_username(gaim_connection_get_account(gc))); |
129 gaim_account_get_username(gaim_connection_get_account(gc))); | |
130 } | 119 } |
131 | 120 |
132 static void | 121 static void |
133 signed_on_cb(GaimConnection *gc, void *data) | 122 signed_on_cb(GaimConnection *gc, void *data) |
134 { | 123 { |
135 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 124 gaim_debug_misc("signals test", "signed-on (%s)\n", |
136 "signed-on (%s)\n", | 125 gaim_account_get_username(gaim_connection_get_account(gc))); |
137 gaim_account_get_username(gaim_connection_get_account(gc))); | |
138 } | 126 } |
139 | 127 |
140 static void | 128 static void |
141 signing_off_cb(GaimConnection *gc, void *data) | 129 signing_off_cb(GaimConnection *gc, void *data) |
142 { | 130 { |
143 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 131 gaim_debug_misc("signals test", "signing-off (%s)\n", |
144 "signing-off (%s)\n", | 132 gaim_account_get_username(gaim_connection_get_account(gc))); |
145 gaim_account_get_username(gaim_connection_get_account(gc))); | |
146 } | 133 } |
147 | 134 |
148 static void | 135 static void |
149 signed_off_cb(GaimConnection *gc, void *data) | 136 signed_off_cb(GaimConnection *gc, void *data) |
150 { | 137 { |
151 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 138 gaim_debug_misc("signals test", "signed-off (%s)\n", |
152 "signed-off (%s)\n", | 139 gaim_account_get_username(gaim_connection_get_account(gc))); |
153 gaim_account_get_username(gaim_connection_get_account(gc))); | |
154 } | 140 } |
155 | 141 |
156 /************************************************************************** | 142 /************************************************************************** |
157 * Conversation subsystem signal callbacks | 143 * Conversation subsystem signal callbacks |
158 **************************************************************************/ | 144 **************************************************************************/ |
159 static gboolean | 145 static gboolean |
160 displaying_im_msg_cb(GaimAccount *account, GaimConversation *conv, | 146 displaying_im_msg_cb(GaimAccount *account, GaimConversation *conv, |
161 char **buffer, void *data) | 147 char **buffer, void *data) |
162 { | 148 { |
163 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 149 gaim_debug_misc("signals test", "displaying-im-msg (%s, %s)\n", |
164 "displaying-im-msg (%s, %s)\n", | 150 gaim_conversation_get_name(conv), *buffer); |
165 gaim_conversation_get_name(conv), *buffer); | |
166 | 151 |
167 return FALSE; | 152 return FALSE; |
168 } | 153 } |
169 | 154 |
170 static void | 155 static void |
171 displayed_im_msg_cb(GaimConversation *conv, const char *buffer, void *data) | 156 displayed_im_msg_cb(GaimConversation *conv, const char *buffer, void *data) |
172 { | 157 { |
173 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 158 gaim_debug_misc("signals test", "displayed-im-msg (%s, %s)\n", |
174 "displayed-im-msg (%s, %s)\n", | 159 gaim_conversation_get_name(conv), buffer); |
175 gaim_conversation_get_name(conv), buffer); | |
176 } | 160 } |
177 | 161 |
178 static void | 162 static void |
179 sending_im_msg_cb(GaimAccount *account, char *recipient, char **buffer, void *data) | 163 sending_im_msg_cb(GaimAccount *account, char *recipient, char **buffer, void *data) |
180 { | 164 { |
181 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 165 gaim_debug_misc("signals test", "sending-im-msg (%s, %s, %s)\n", |
182 "sending-im-msg (%s, %s, %s)\n", | 166 gaim_account_get_username(account), recipient, *buffer); |
183 gaim_account_get_username(account), recipient, | |
184 *buffer); | |
185 | 167 |
186 } | 168 } |
187 | 169 |
188 static void | 170 static void |
189 sent_im_msg_cb(GaimAccount *account, const char *recipient, const char *buffer, void *data) | 171 sent_im_msg_cb(GaimAccount *account, const char *recipient, const char *buffer, void *data) |
190 { | 172 { |
191 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 173 gaim_debug_misc("signals test", "sent-im-msg (%s, %s, %s)\n", |
192 "sent-im-msg (%s, %s, %s)\n", | 174 gaim_account_get_username(account), recipient, buffer); |
193 gaim_account_get_username(account), | |
194 recipient, buffer); | |
195 } | 175 } |
196 | 176 |
197 static gboolean | 177 static gboolean |
198 received_im_msg_cb(GaimAccount *account, char **sender, char **buffer, | 178 received_im_msg_cb(GaimAccount *account, char **sender, char **buffer, |
199 int *flags, void *data) | 179 int *flags, void *data) |
200 { | 180 { |
201 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 181 gaim_debug_misc("signals test", "received-im-msg (%s, %s, %s, %d)\n", |
202 "received-im-msg (%s, %s, %s, %d)\n", | 182 gaim_account_get_username(account), *sender, *buffer, |
203 gaim_account_get_username(account), *sender, *buffer, *flags); | 183 *flags); |
204 | 184 |
205 return FALSE; | 185 return FALSE; |
206 } | 186 } |
207 | 187 |
208 static gboolean | 188 static gboolean |
209 displaying_chat_msg_cb(GaimAccount *account, GaimConversation *conv, | 189 displaying_chat_msg_cb(GaimAccount *account, GaimConversation *conv, |
210 char **buffer, void *data) | 190 char **buffer, void *data) |
211 { | 191 { |
212 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 192 gaim_debug_misc("signals test", "displaying-chat-msg (%s, %s)\n", |
213 "displaying-chat-msg (%s, %s)\n", | 193 gaim_conversation_get_name(conv), *buffer); |
214 gaim_conversation_get_name(conv), *buffer); | |
215 | 194 |
216 return FALSE; | 195 return FALSE; |
217 } | 196 } |
218 | 197 |
219 static void | 198 static void |
220 displayed_chat_msg_cb(GaimConversation *conv, const char *buffer, void *data) | 199 displayed_chat_msg_cb(GaimConversation *conv, const char *buffer, void *data) |
221 { | 200 { |
222 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 201 gaim_debug_misc("signals test", "displayed-chat-msg (%s, %s)\n", |
223 "displayed-chat-msg (%s, %s)\n", | 202 gaim_conversation_get_name(conv), buffer); |
224 gaim_conversation_get_name(conv), buffer); | |
225 } | 203 } |
226 | 204 |
227 static gboolean | 205 static gboolean |
228 sending_chat_msg_cb(GaimAccount *account, char **buffer, int id, void *data) | 206 sending_chat_msg_cb(GaimAccount *account, char **buffer, int id, void *data) |
229 { | 207 { |
230 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 208 gaim_debug_misc("signals test", "sending-chat-msg (%s, %s, %d)\n", |
231 "sending-chat-msg (%s, %s, %d)\n", | 209 gaim_account_get_username(account), *buffer, id); |
232 gaim_account_get_username(account), *buffer, id); | |
233 | 210 |
234 return FALSE; | 211 return FALSE; |
235 } | 212 } |
236 | 213 |
237 static void | 214 static void |
238 sent_chat_msg_cb(GaimAccount *account, const char *buffer, int id, void *data) | 215 sent_chat_msg_cb(GaimAccount *account, const char *buffer, int id, void *data) |
239 { | 216 { |
240 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 217 gaim_debug_misc("signals test", "sent-chat-msg (%s, %s, %d)\n", |
241 "sent-chat-msg (%s, %s, %d)\n", | 218 gaim_account_get_username(account), buffer, id); |
242 gaim_account_get_username(account), buffer, id); | |
243 } | 219 } |
244 | 220 |
245 static gboolean | 221 static gboolean |
246 received_chat_msg_cb(GaimAccount *account, char **sender, char **buffer, | 222 received_chat_msg_cb(GaimAccount *account, char **sender, char **buffer, |
247 GaimConversation *chat, void *data) | 223 GaimConversation *chat, void *data) |
248 { | 224 { |
249 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 225 gaim_debug_misc("signals test", |
250 "received-chat-msg (%s, %s, %s, %s, %s)\n", | 226 "received-chat-msg (%s, %s, %s, %s, %s)\n", |
251 gaim_account_get_username(account), *sender, *buffer, | 227 gaim_account_get_username(account), *sender, *buffer, |
252 gaim_conversation_get_name(chat)); | 228 gaim_conversation_get_name(chat)); |
253 | 229 |
254 return FALSE; | 230 return FALSE; |
255 } | 231 } |
256 | 232 |
257 static void | 233 static void |
258 conversation_switching_cb(GaimConversation *old_conv, | 234 conversation_switching_cb(GaimConversation *old_conv, |
259 GaimConversation *new_conv, void *data) | 235 GaimConversation *new_conv, void *data) |
260 { | 236 { |
261 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 237 gaim_debug_misc("signals test", "conversation-switching (%s, %s)\n", |
262 "conversation-switching (%s, %s)\n", | 238 gaim_conversation_get_name(old_conv), |
263 gaim_conversation_get_name(old_conv), | 239 gaim_conversation_get_name(new_conv)); |
264 gaim_conversation_get_name(new_conv)); | |
265 } | 240 } |
266 | 241 |
267 static void | 242 static void |
268 conversation_switched_cb(GaimConversation *old_conv, | 243 conversation_switched_cb(GaimConversation *old_conv, |
269 GaimConversation *new_conv, void *data) | 244 GaimConversation *new_conv, void *data) |
270 { | 245 { |
271 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 246 gaim_debug_misc("signals test", "conversation-switched (%s, %s)\n", |
272 "conversation-switched (%s, %s)\n", | 247 gaim_conversation_get_name(old_conv), |
273 gaim_conversation_get_name(old_conv), | 248 gaim_conversation_get_name(new_conv)); |
274 gaim_conversation_get_name(new_conv)); | |
275 } | 249 } |
276 | 250 |
277 static void | 251 static void |
278 conversation_created_cb(GaimConversation *conv, void *data) | 252 conversation_created_cb(GaimConversation *conv, void *data) |
279 { | 253 { |
280 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 254 gaim_debug_misc("signals test", "conversation-created (%s)\n", |
281 "conversation-created (%s)\n", | 255 gaim_conversation_get_name(conv)); |
282 gaim_conversation_get_name(conv)); | |
283 } | 256 } |
284 | 257 |
285 static void | 258 static void |
286 deleting_conversation_cb(GaimConversation *conv, void *data) | 259 deleting_conversation_cb(GaimConversation *conv, void *data) |
287 { | 260 { |
288 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 261 gaim_debug_misc("signals test", "deleting-conversation (%s)\n", |
289 "deleting-conversation (%s)\n", | 262 gaim_conversation_get_name(conv)); |
290 gaim_conversation_get_name(conv)); | |
291 } | 263 } |
292 | 264 |
293 static void | 265 static void |
294 buddy_typing_cb(GaimConversation *conv, void *data) | 266 buddy_typing_cb(GaimConversation *conv, void *data) |
295 { | 267 { |
296 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 268 gaim_debug_misc("signals test", "buddy-typing (%s)\n", |
297 "buddy-typing (%s)\n", | 269 gaim_conversation_get_name(conv)); |
298 gaim_conversation_get_name(conv)); | |
299 } | 270 } |
300 | 271 |
301 static void | 272 static void |
302 chat_buddy_joining_cb(GaimConversation *conv, const char *user, void *data) | 273 chat_buddy_joining_cb(GaimConversation *conv, const char *user, void *data) |
303 { | 274 { |
304 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 275 gaim_debug_misc("signals test", "chat-buddy-joining (%s, %s)\n", |
305 "chat-buddy-joining (%s, %s)\n", | 276 gaim_conversation_get_name(conv), user); |
306 gaim_conversation_get_name(conv), user); | |
307 } | 277 } |
308 | 278 |
309 static void | 279 static void |
310 chat_buddy_joined_cb(GaimConversation *conv, const char *user, void *data) | 280 chat_buddy_joined_cb(GaimConversation *conv, const char *user, void *data) |
311 { | 281 { |
312 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 282 gaim_debug_misc("signals test", "chat-buddy-joined (%s, %s)\n", |
313 "chat-buddy-joined (%s, %s)\n", | 283 gaim_conversation_get_name(conv), user); |
314 gaim_conversation_get_name(conv), user); | |
315 } | 284 } |
316 | 285 |
317 static void | 286 static void |
318 chat_buddy_leaving_cb(GaimConversation *conv, const char *user, | 287 chat_buddy_leaving_cb(GaimConversation *conv, const char *user, |
319 const char *reason, void *data) | 288 const char *reason, void *data) |
320 { | 289 { |
321 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 290 gaim_debug_misc("signals test", "chat-buddy-leaving (%s, %s, %s)\n", |
322 "chat-buddy-leaving (%s, %s, %s)\n", | 291 gaim_conversation_get_name(conv), user, reason); |
323 gaim_conversation_get_name(conv), user, reason); | |
324 } | 292 } |
325 | 293 |
326 static void | 294 static void |
327 chat_buddy_left_cb(GaimConversation *conv, const char *user, | 295 chat_buddy_left_cb(GaimConversation *conv, const char *user, |
328 const char *reason, void *data) | 296 const char *reason, void *data) |
329 { | 297 { |
330 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 298 gaim_debug_misc("signals test", "chat-buddy-left (%s, %s, %s)\n", |
331 "chat-buddy-left (%s, %s, %s)\n", | 299 gaim_conversation_get_name(conv), user, reason); |
332 gaim_conversation_get_name(conv), user, reason); | |
333 } | 300 } |
334 | 301 |
335 static void | 302 static void |
336 chat_inviting_user_cb(GaimConversation *conv, const char *name, | 303 chat_inviting_user_cb(GaimConversation *conv, const char *name, |
337 const char *reason, void *data) | 304 const char *reason, void *data) |
338 { | 305 { |
339 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 306 gaim_debug_misc("signals test", "chat-inviting-user (%s, %s, %s)\n", |
340 "chat-inviting-user (%s, %s, %s)\n", | 307 gaim_conversation_get_name(conv), name, reason); |
341 gaim_conversation_get_name(conv), name, reason); | |
342 } | 308 } |
343 | 309 |
344 static void | 310 static void |
345 chat_invited_user_cb(GaimConversation *conv, const char *name, | 311 chat_invited_user_cb(GaimConversation *conv, const char *name, |
346 const char *reason, void *data) | 312 const char *reason, void *data) |
347 { | 313 { |
348 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 314 gaim_debug_misc("signals test", "chat-invited-user (%s, %s, %s)\n", |
349 "chat-invited-user (%s, %s, %s)\n", | 315 gaim_conversation_get_name(conv), name, reason); |
350 gaim_conversation_get_name(conv), name, reason); | |
351 } | 316 } |
352 | 317 |
353 static void | 318 static void |
354 chat_invited_cb(GaimAccount *account, const char *inviter, | 319 chat_invited_cb(GaimAccount *account, const char *inviter, |
355 const char *room_name, const char *message, void *data) | 320 const char *room_name, const char *message, void *data) |
356 { | 321 { |
357 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 322 gaim_debug_misc("signals test", "chat-invited (%s, %s, %s, %s)\n", |
358 "chat-invited (%s, %s, %s, %s)\n", | 323 gaim_account_get_username(account), inviter, |
359 gaim_account_get_username(account), inviter, | 324 room_name, message); |
360 room_name, message); | |
361 } | 325 } |
362 | 326 |
363 static void | 327 static void |
364 chat_joined_cb(GaimConversation *conv, void *data) | 328 chat_joined_cb(GaimConversation *conv, void *data) |
365 { | 329 { |
366 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 330 gaim_debug_misc("signals test", "chat-joined (%s)\n", |
367 "chat-joined (%s)\n", | 331 gaim_conversation_get_name(conv)); |
368 gaim_conversation_get_name(conv)); | |
369 } | 332 } |
370 | 333 |
371 static void | 334 static void |
372 chat_left_cb(GaimConversation *conv, void *data) | 335 chat_left_cb(GaimConversation *conv, void *data) |
373 { | 336 { |
374 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 337 gaim_debug_misc("signals test", "chat-left (%s)\n", |
375 "chat-left (%s)\n", | 338 gaim_conversation_get_name(conv)); |
376 gaim_conversation_get_name(conv)); | |
377 } | 339 } |
378 | 340 |
379 /************************************************************************** | 341 /************************************************************************** |
380 * Core signal callbacks | 342 * Core signal callbacks |
381 **************************************************************************/ | 343 **************************************************************************/ |
382 static void | 344 static void |
383 quitting_cb(void *data) | 345 quitting_cb(void *data) |
384 { | 346 { |
385 gaim_debug(GAIM_DEBUG_MISC, "signals test", | 347 gaim_debug_misc("signals test", "quitting ()\n"); |
386 "quitting ()\n"); | |
387 } | 348 } |
388 | 349 |
389 /************************************************************************** | 350 /************************************************************************** |
390 * Plugin stuff | 351 * Plugin stuff |
391 **************************************************************************/ | 352 **************************************************************************/ |