pidgin/gtkmain.c

changeset 15567
42dfb9478e9f
parent 15562
8c8249fe5e3c
child 15574
18d9d1c05994
child 15577
b8129373f65e
equal deleted inserted replaced
15566:ce486027d329 15567:42dfb9478e9f
393 } 393 }
394 } 394 }
395 #endif /* HAVE_STARTUP_NOTIFICATION */ 395 #endif /* HAVE_STARTUP_NOTIFICATION */
396 396
397 #ifndef _WIN32 397 #ifndef _WIN32
398 static char *gaim_find_binary_location(void *symbol, void *data) 398 static char *pidgin_find_binary_location(void *symbol, void *data)
399 { 399 {
400 static char *fullname = NULL; 400 static char *fullname = NULL;
401 static gboolean first = TRUE; 401 static gboolean first = TRUE;
402 402
403 char *argv0 = data; 403 char *argv0 = data;
505 /* Make g_return_... functions fatal. */ 505 /* Make g_return_... functions fatal. */
506 g_log_set_always_fatal(G_LOG_LEVEL_CRITICAL); 506 g_log_set_always_fatal(G_LOG_LEVEL_CRITICAL);
507 #endif 507 #endif
508 508
509 #ifndef _WIN32 509 #ifndef _WIN32
510 br_set_locate_fallback_func(gaim_find_binary_location, argv[0]); 510 br_set_locate_fallback_func(pidgin_find_binary_location, argv[0]);
511 #endif 511 #endif
512 #ifdef ENABLE_NLS 512 #ifdef ENABLE_NLS
513 bindtextdomain(PACKAGE, LOCALEDIR); 513 bindtextdomain(PACKAGE, LOCALEDIR);
514 bind_textdomain_codeset(PACKAGE, "UTF-8"); 514 bind_textdomain_codeset(PACKAGE, "UTF-8");
515 textdomain(PACKAGE); 515 textdomain(PACKAGE);

mercurial