pidgin/win32/gtkwin32dep.c

changeset 30739
72613eff8b0e
parent 30734
caafb5a4e95b
child 30793
1f869064d3ee
equal deleted inserted replaced
30738:34c16a8692ce 30739:72613eff8b0e
374 return FALSE; 374 return FALSE;
375 } 375 }
376 376
377 void winpidgin_init(HINSTANCE hint) { 377 void winpidgin_init(HINSTANCE hint) {
378 FARPROC proc; 378 FARPROC proc;
379 gchar *exchndl_dll_path;
379 380
380 purple_debug_info("winpidgin", "winpidgin_init start\n"); 381 purple_debug_info("winpidgin", "winpidgin_init start\n");
381 382
382 exe_hInstance = hint; 383 exe_hInstance = hint;
383 384
384 proc = wpurple_find_and_loadproc("exchndl.dll", "SetLogFile"); 385 exchndl_dll_path = g_build_filename(wpurple_install_dir(), "exchndl.dll", NULL);
386 proc = wpurple_find_and_loadproc(exchndl_dll_path, "SetLogFile");
387 g_free(exchndl_dll_path);
388 exchndl_dll_path = NULL;
385 if (proc) { 389 if (proc) {
386 gchar *debug_dir, *locale_debug_dir; 390 gchar *debug_dir, *locale_debug_dir;
387 391
388 debug_dir = g_build_filename(purple_user_dir(), "pidgin.RPT", NULL); 392 debug_dir = g_build_filename(purple_user_dir(), "pidgin.RPT", NULL);
389 locale_debug_dir = g_locale_from_utf8(debug_dir, -1, NULL, NULL, NULL); 393 locale_debug_dir = g_locale_from_utf8(debug_dir, -1, NULL, NULL, NULL);

mercurial