diff src/aim.c @ 2416:61b816a7b467

[gaim-migrate @ 2429] core.c. There's nothing here yet and nothing in it is used by default (though most of it is compiled). i need to split gaim.h into core.h and ui.h next. oh, and split struct conversation and move it completely out of the prpls. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 03 Oct 2001 07:49:38 +0000
parents 520257562955
children 049822b93239
line wrap: on
line diff
--- a/src/aim.c	Wed Oct 03 06:04:44 2001 +0000
+++ b/src/aim.c	Wed Oct 03 07:49:38 2001 +0000
@@ -382,6 +382,7 @@
 		signoff_all(NULL, NULL);
 		break;
 	case SIGSEGV:
+		core_quit();
 		fprintf(stderr, "Gaim has segfaulted and attempted to dump a core file.\n"
 			"This is a bug in the software and has happened through\n"
 			"no fault of your own.\n\n"
@@ -408,6 +409,7 @@
 #endif
 		if (gtk_main_level())
 			gtk_main_quit();
+		core_quit();
 		exit(0);
 	}
 }
@@ -620,6 +622,8 @@
 
 	load_prefs();
 
+	core_main();
+
 	/* set the default username */
 	if (opt_user_arg != NULL) {
 		set_first_user(opt_user_arg);
@@ -678,6 +682,7 @@
 #endif /* USE_APPLET */
 
 	gtkspell_stop();
+	core_quit();
 
 	return 0;