rem: switch (event->type)
add: if (event->type == XINE_EVENT_PLAYBACK_FINISHED)
context: xine_event (void *user_data, xine_event_t *event){	GtkXine *gtx = (GtkXine *) user_data;	switch (event->type)	{	case XINE_EVENT_PLAYBACK_FINISHED:		g_message ("XINE_EVENT_PLAYBACK_FINISHED");		g_signal_emit (G_OBJECT (gtx),				gtx_table_signals[EOS], 0, NULL);		break;	case XINE_EVENT_MOUSE_MOVE:		/* This event doesn't actually work, too bad */		break;	default:		g_message ("got event %d", event->type);	}}