diff src/buddy.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 3ccbdf8e7f8d
children 274cb26ba8dc
line wrap: on
line diff
--- a/src/buddy.c	Mon Dec 16 00:19:44 2002 +0000
+++ b/src/buddy.c	Mon Dec 16 03:58:54 2002 +0000
@@ -1410,26 +1410,6 @@
 	show_import_dialog();
 }
 
-void do_quit()
-{
-	/* first we tell those who have requested it we're quitting */
-	plugin_event(event_quit);
-
-	signoff_all();
-#ifdef GAIM_PLUGINS
-	/* then we remove everyone in a mass suicide */
-	remove_all_plugins();
-#endif
-	system_log(log_quit, NULL, NULL, OPT_LOG_BUDDY_SIGNON | OPT_LOG_MY_SIGNON);
-#ifdef USE_PERL
-	perl_end();
-#endif
-
-	save_prefs();
-
-	gtk_main_quit();
-}
-
 void add_buddy_callback(GtkWidget *widget, void *dummy)
 {
 	char *grp = NULL;