Wed, 10 May 2006 01:27:51 +0000
[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
| src/gtksound.c | file | annotate | diff | comparison | revisions |
--- 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)