Mercurial > pidgin.yaz
comparison pidgin/win32/gtkwin32dep.c @ 29620:e7b9cf2f2386
Use an updated exchndl.dll that supports setting the log file path manually and
external debug symbols (looks in the specified debug symbols dir and also for a
<modulename>.dbgsym alongside <modulename>).
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Sun, 01 Nov 2009 04:56:45 +0000 |
parents | 224f9674a57e |
children | 2ad2e3490b23 |
comparison
equal
deleted
inserted
replaced
29619:3f33a8fbf871 | 29620:e7b9cf2f2386 |
---|---|
381 winpidgin_conv_blink(conv, flags); | 381 winpidgin_conv_blink(conv, flags); |
382 return FALSE; | 382 return FALSE; |
383 } | 383 } |
384 | 384 |
385 void winpidgin_init(HINSTANCE hint) { | 385 void winpidgin_init(HINSTANCE hint) { |
386 FARPROC exchndl_SetLogFile; | |
386 | 387 |
387 purple_debug_info("winpidgin", "winpidgin_init start\n"); | 388 purple_debug_info("winpidgin", "winpidgin_init start\n"); |
388 | 389 |
389 exe_hInstance = hint; | 390 exe_hInstance = hint; |
390 | 391 |
397 gtk_major_version, gtk_minor_version, gtk_micro_version); | 398 gtk_major_version, gtk_minor_version, gtk_micro_version); |
398 | 399 |
399 messagewin_hwnd = winpidgin_message_window_init(); | 400 messagewin_hwnd = winpidgin_message_window_init(); |
400 | 401 |
401 MyFlashWindowEx = (LPFNFLASHWINDOWEX) wpurple_find_and_loadproc("user32.dll", "FlashWindowEx"); | 402 MyFlashWindowEx = (LPFNFLASHWINDOWEX) wpurple_find_and_loadproc("user32.dll", "FlashWindowEx"); |
403 | |
404 exchndl_SetLogFile = wpurple_find_and_loadproc("exchndl.dll", "SetLogFile"); | |
405 if (exchndl_SetLogFile) { | |
406 gchar *filename = g_build_filename(purple_user_dir(), | |
407 "pidgin.RPT", NULL); | |
408 purple_debug_info("winpidgin", "Setting exchndl.dll LogFile to %s\n", | |
409 filename); | |
410 (exchndl_SetLogFile)(filename); | |
411 g_free(filename); | |
412 } | |
402 | 413 |
403 purple_debug_info("winpidgin", "winpidgin_init end\n"); | 414 purple_debug_info("winpidgin", "winpidgin_init end\n"); |
404 } | 415 } |
405 | 416 |
406 void winpidgin_post_init(void) { | 417 void winpidgin_post_init(void) { |