comparison src/session.c @ 6179:16e384bb7fbf

[gaim-migrate @ 6664] Core/UI split the core initialization and shutdown. I think I got all the bugs worked out. It's looking nice and stable here, but if it causes CVS to go to hell for everyone.. er, try to fix it or let me know :) I don't have this in patch form. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 17 Jul 2003 10:35:43 +0000
parents 059d95c67cda
children 9083f92e0d58
comparison
equal deleted inserted replaced
6178:06e28a7b72c3 6179:16e384bb7fbf
23 * 23 *
24 */ 24 */
25 #include "internal.h" 25 #include "internal.h"
26 26
27 #include "debug.h" 27 #include "debug.h"
28
29 /* XXX */
30 extern void do_quit();
31 28
32 extern char *opt_rcfile_arg; 29 extern char *opt_rcfile_arg;
33 30
34 #ifdef USE_SM 31 #ifdef USE_SM
35 32
197 } 194 }
198 195
199 void session_die(SmcConn conn, SmPointer data) { 196 void session_die(SmcConn conn, SmPointer data) {
200 gaim_debug(GAIM_DEBUG_INFO, "Session Management", 197 gaim_debug(GAIM_DEBUG_INFO, "Session Management",
201 "Received die\n"); 198 "Received die\n");
202 do_quit(); 199 gaim_core_quit();
203 } 200 }
204 201
205 void session_save_complete(SmcConn conn, SmPointer data) { 202 void session_save_complete(SmcConn conn, SmPointer data) {
206 gaim_debug(GAIM_DEBUG_INFO, "Session Management", 203 gaim_debug(GAIM_DEBUG_INFO, "Session Management",
207 "Received save_complete\n"); 204 "Received save_complete\n");