From: <rl...@us...> - 2006-05-10 01:28:10
|
Revision: 16168 Author: rlaager Date: 2006-05-09 18:27:51 -0700 (Tue, 09 May 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=16168&view=rev Log Message: ----------- Remove the expire_old_child static function, since it's not used: gtksound.c:344: warning: ?\226?\128?\152expire_old_child?\226?\128?\153 defined but not used Modified Paths: -------------- trunk/src/gtksound.c Modified: trunk/src/gtksound.c =================================================================== --- trunk/src/gtksound.c 2006-05-09 17:38:37 UTC (rev 16167) +++ trunk/src/gtksound.c 2006-05-10 01:27:51 UTC (rev 16168) @@ -340,23 +340,6 @@ #ifdef USE_GSTREAMER static gboolean -expire_old_child(gpointer data) -{ - int ret; - pid_t pid = GPOINTER_TO_INT(data); - - ret = waitpid(pid, NULL, WNOHANG | WUNTRACED); - - if(ret == 0) { - if(kill(pid, SIGKILL) < 0) - gaim_debug_error("gtksound", "Killing process %d failed (%s)\n", - pid, strerror(errno)); - } - - return FALSE; /* do not run again */ -} - -static gboolean bus_call (GstBus *bus, GstMessage *msg, gpointer data) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |