diff src/util.c @ 3802:9bcb42faccc0

[gaim-migrate @ 3945] Rewrote show_im_dialog and show_info_dialog. Ported to gtkspell2. Gtkspell2 is a library available from gtkspell.sf.net. It requires the pspell library. If you want the "highlight misspelled words" feature to work, you must have this library installed. If installed, configure will detect it and link against it. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 26 Oct 2002 06:41:13 +0000
parents 12b29552f1d7
children b7a6aa99ee7c
line wrap: on
line diff
--- a/src/util.c	Fri Oct 25 11:50:40 2002 +0000
+++ b/src/util.c	Sat Oct 26 06:41:13 2002 +0000
@@ -45,7 +45,6 @@
 #include <math.h>
 #include "gaim.h"
 #include "prpl.h"
-#include "gtkspell.h"
 
 #ifdef _WIN32
 #include "win32dep.h"
@@ -643,26 +642,6 @@
 	return date;
 }
 
-
-void clean_pid(void)
-{
-#ifndef _WIN32
-	int status;
-	pid_t pid, spell_pid;
-
-	while((pid = waitpid(-1, &status, WNOHANG)) > 0) {
-		if((spell_pid = gtkspell_running()) != 0 && pid == spell_pid) {
-			gtkspell_notrunning();
-		}
-	}
-	if(pid < 0 && errno != ECHILD) {
-		char errmsg[BUFSIZ];
-		sprintf(errmsg, "Warning: waitpid() returned %d", pid);
-		perror(errmsg);
-	}
-#endif
-}
-
 struct aim_user *find_user(const char *name, int protocol)
 {
 	char *who = g_strdup(normalize(name));