Mercurial > pidgin
comparison src/session.c @ 5872:059d95c67cda
[gaim-migrate @ 6304]
The legendary Header File Cleanup! Files now only include what they need.
This should reduce the number of files that must recompile when a header
file changes. It's a lot nicer. Trust me on it. I also added a couple new
header files. I hope I didn't break TOO much!
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 14 Jun 2003 23:21:02 +0000 |
parents | b07aa997ddd8 |
children | 16e384bb7fbf |
comparison
equal
deleted
inserted
replaced
5871:508adf90fbb9 | 5872:059d95c67cda |
---|---|
20 * You should have received a copy of the GNU General Public License | 20 * You should have received a copy of the GNU General Public License |
21 * along with this program; if not, write to the Free Software | 21 * along with this program; if not, write to the Free Software |
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
23 * | 23 * |
24 */ | 24 */ |
25 | 25 #include "internal.h" |
26 #ifdef HAVE_CONFIG_H | 26 |
27 #include <config.h> | 27 #include "debug.h" |
28 #endif | 28 |
29 | 29 /* XXX */ |
30 #include <string.h> | 30 extern void do_quit(); |
31 | 31 |
32 #include "gaim.h" | 32 extern char *opt_rcfile_arg; |
33 | 33 |
34 #ifdef USE_SM | 34 #ifdef USE_SM |
35 | 35 |
36 #include <X11/ICE/ICElib.h> | 36 #include <X11/ICE/ICElib.h> |
37 #include <X11/SM/SMlib.h> | 37 #include <X11/SM/SMlib.h> |
38 #include <unistd.h> | 38 #include <unistd.h> |
39 #include <fcntl.h> | 39 #include <fcntl.h> |
40 | |
40 #define ERROR_LENGTH 512 | 41 #define ERROR_LENGTH 512 |
41 | 42 |
42 static IceIOErrorHandler ice_installed_io_error_handler; | 43 static IceIOErrorHandler ice_installed_io_error_handler; |
43 static SmcConn session = NULL; | 44 static SmcConn session = NULL; |
44 static gchar *myself = NULL; | 45 static gchar *myself = NULL; |