comparison src/core.c @ 4082:4b04ecb3eb97

[gaim-migrate @ 4297] (22:54:38) Robot101: * Make sure prefs are saved before plugins are removed, and not afterwards. (22:54:59) Robot101: * Move do_quit() into aim.c and make sure everything appropriate uses it. (22:55:12) Robot101: * Remove duplicated cancel_login for closing the main window, use do_quit instead. (22:55:49) Robot101: * Remove uncalled code pertaining to closing the about window from when it was called via gaim -v. (22:56:06) LSchiere: what's this in sounds? (22:56:29) Robot101: * Add correct ifdefs to prefs so only compiled-in sound methods are shown. (22:56:34) LSchiere: if you broke my sounds... (22:57:07) Robot101: * Remove unused sound order data, and clarify comments and debug output. (22:57:56) Robot101: * Remove duplicated check which is performed at the start of play_file anyway. (22:58:03) Robot101: that's the lot committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Mon, 16 Dec 2002 03:58:54 +0000
parents 405340263d75
children 0c68d402f59f
comparison
equal deleted inserted replaced
4081:b35cf600fe30 4082:4b04ecb3eb97
493 return 0; 493 return 0;
494 } 494 }
495 495
496 void core_quit() 496 void core_quit()
497 { 497 {
498 save_prefs(); 498 /* don't save prefs after plugins are gone... */
499 #ifndef _WIN32 499 #ifndef _WIN32
500 { 500 {
501 char buf[1024]; 501 char buf[1024];
502 close(UI_fd); 502 close(UI_fd);
503 sprintf(buf, "%s" G_DIR_SEPARATOR_S "gaim_%s.%d", g_get_tmp_dir(), g_get_user_name(), gaim_session); 503 sprintf(buf, "%s" G_DIR_SEPARATOR_S "gaim_%s.%d", g_get_tmp_dir(), g_get_user_name(), gaim_session);