# HG changeset patch # User Richard Laager # Date 1147224471 0 # Node ID 164932c4d050fd226ab7ccf0db9ebfc090cb4673 # Parent 56fedad488148479b599524ff2c9b5bf82abc3c3 [gaim-migrate @ 16168] Remove the expire_old_child static function, since it's not used: gtksound.c:344: warning: ¡Æexpire_old_child¡Ç defined but not used committer: Tailor Script diff -r 56fedad48814 -r 164932c4d050 src/gtksound.c --- a/src/gtksound.c Tue May 09 17:38:37 2006 +0000 +++ b/src/gtksound.c Wed May 10 01:27:51 2006 +0000 @@ -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)