Mercurial > pidgin.yaz
comparison src/win32/win32dep.c @ 7526:77727178a1df
[gaim-migrate @ 8139]
Temp debug print op added
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Sun, 16 Nov 2003 03:23:37 +0000 |
parents | 7c3db2b2a790 |
children | 08c9d0dcf906 |
comparison
equal
deleted
inserted
replaced
7525:7398a8d6862d | 7526:77727178a1df |
---|---|
268 } | 268 } |
269 g_free(new_home); | 269 g_free(new_home); |
270 g_free(old_home); | 270 g_free(old_home); |
271 } | 271 } |
272 | 272 |
273 static void wgaim_debug_print(GaimDebugLevel level, const char *category, const char *format, va_list args) { | |
274 char *str = g_strdup_vprintf(format, args); | |
275 printf("%s%s%s", category?category:"", category?": ":"",str); | |
276 g_free(str); | |
277 } | |
278 | |
279 static GaimDebugUiOps ops = | |
280 { | |
281 wgaim_debug_print | |
282 }; | |
283 | |
273 /* | 284 /* |
274 * PUBLIC CODE | 285 * PUBLIC CODE |
275 */ | 286 */ |
276 | 287 |
277 HINSTANCE wgaim_hinstance(void) { | 288 HINSTANCE wgaim_hinstance(void) { |
499 WORD wVersionRequested; | 510 WORD wVersionRequested; |
500 WSADATA wsaData; | 511 WSADATA wsaData; |
501 char *perlenv; | 512 char *perlenv; |
502 char *newenv; | 513 char *newenv; |
503 | 514 |
515 gaim_debug_set_ui_ops(&ops); | |
504 gaim_debug(GAIM_DEBUG_INFO, "wgaim", "wgaim_init start\n"); | 516 gaim_debug(GAIM_DEBUG_INFO, "wgaim", "wgaim_init start\n"); |
505 | 517 |
506 gaimexe_hInstance = hint; | 518 gaimexe_hInstance = hint; |
507 | 519 |
508 load_winver_specific_procs(); | 520 load_winver_specific_procs(); |