changeset 13852:d95e5e0e29b9

[gaim-migrate @ 16311] We don't want threads. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Thu, 22 Jun 2006 23:08:05 +0000
parents 41753203a94d
children bbf0470cb348
files console/Makefile console/gntgaim.c
diffstat 2 files changed, 1 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/console/Makefile	Thu Jun 22 22:38:03 2006 +0000
+++ b/console/Makefile	Thu Jun 22 23:08:05 2006 +0000
@@ -1,5 +1,5 @@
 CFLAGS=`pkg-config --cflags gaim gobject-2.0` -g -I./libgnt/
-LDFLAGS=`pkg-config --libs gaim gobject-2.0 gthread-2.0 libxml-2.0` -lncursesw -L./libgnt/ -lgnt
+LDFLAGS=`pkg-config --libs gaim gobject-2.0 libxml-2.0` -lncursesw -L./libgnt/ -lgnt
 
 GG_SOURCES = \
 	gntblist.c \
--- a/console/gntgaim.c	Thu Jun 22 22:38:03 2006 +0000
+++ b/console/gntgaim.c	Thu Jun 22 23:08:05 2006 +0000
@@ -168,8 +168,6 @@
 
 int main(int argc, char **argv)
 {
-	GMainLoop *loop;
-
 	/* Initialize the libgaim stuff */
 	init_libgaim();
 
@@ -178,11 +176,6 @@
 	/* Enable the accounts and restore the status */
 	gaim_accounts_restore_current_statuses();
 
-	/* Main loop */
-	g_thread_init(NULL);
-	loop = g_main_loop_new(NULL, TRUE);
-	g_thread_create((GThreadFunc)g_main_loop_run, loop, FALSE, NULL);
-	
 	/* Initialize the UI */
 	init_gnt_ui();