Update of /cvsroot/gaim/gaim/src
In directory usw-pr-cvs1:/tmp/cvs-serv7128/src
Modified Files:
core.c
Log Message:
core.
Index: core.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/core.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- core.c 2001/10/03 18:13:50 1.2
+++ core.c 2001/10/05 19:52:11 1.3
@@ -37,8 +37,6 @@
#include "gaim.h"
-#if DEVEL
-
static gint UI_fd = -1;
struct UI {
GIOChannel *channel;
@@ -173,15 +171,12 @@
return fd;
}
-#endif /* DEVEL */
-
int core_main()
{
/*
GMainLoop *loop;
*/
-#if DEVEL
GIOChannel *channel;
UI_fd = open_socket();
@@ -191,7 +186,6 @@
channel = g_io_channel_unix_new(UI_fd);
g_io_add_watch(channel, G_IO_IN, socket_readable, NULL);
g_io_channel_unref(channel);
-#endif
/*
loop = g_main_new(TRUE);
@@ -203,10 +197,8 @@
void core_quit()
{
-#ifdef DEVEL
char buf[1024];
close(UI_fd);
sprintf(buf, "%s/gaim_%s.%d", g_get_tmp_dir(), g_get_user_name(), getpid());
unlink(buf);
-#endif
}
|