comparison plugins/filectl.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 5239a3b4ab33
children 8f94cce8faa5
comparison
equal deleted inserted replaced
6178:06e28a7b72c3 6179:16e384bb7fbf
13 static int check; 13 static int check;
14 static time_t mtime; 14 static time_t mtime;
15 15
16 static void init_file(); 16 static void init_file();
17 static void check_file(); 17 static void check_file();
18
19 extern void do_quit();
20 18
21 /* parse char * as if were word array */ 19 /* parse char * as if were word array */
22 char *getarg(char *, int, int); 20 char *getarg(char *, int, int);
23 21
24 /* go through file and run any commands */ 22 /* go through file and run any commands */
93 } else if (!strncasecmp(command, "unhide", 6)) { 91 } else if (!strncasecmp(command, "unhide", 6)) {
94 unhide_buddy_list(); 92 unhide_buddy_list();
95 } else if (!strncasecmp(command, "back", 4)) { 93 } else if (!strncasecmp(command, "back", 4)) {
96 do_im_back(); 94 do_im_back();
97 } else if (!strncasecmp(command, "quit", 4)) { 95 } else if (!strncasecmp(command, "quit", 4)) {
98 do_quit(); 96 gaim_core_quit();
99 } 97 }
100 free(command); 98 free(command);
101 } 99 }
102 100
103 fclose(file); 101 fclose(file);