Mercurial > pidgin
changeset 13757:164932c4d050
[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 <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Wed, 10 May 2006 01:27:51 +0000 |
parents | 56fedad48814 |
children | ff94569010f5 |
files | src/gtksound.c |
diffstat | 1 files changed, 0 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- 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)