rem: if (!(data->explanation)) { D("xine_event_message: UI message without an explanation\n" "type: %d", data->type); return; }
context: xine_event_message (BaconVideoWidget *bvw, xine_ui_message_data_t *data){	char *message;	signal_data *sigdata;	message = NULL;	if (!(data->explanation))	{		D("xine_event_message: UI message without an explanation\n"				"type: %d", data->type);		return;	}	switch(data->type)	{	case XINE_MSG_NO_ERROR:		break;	case XINE_MSG_GENERAL_WARNING:		break;	case XINE_MSG_UNKNOWN_HOST:		message = g_strdup_printf (_("The server you are trying to connect to is not known."));		break;	case XINE_MSG_UNKNOWN_DEVICE:		message = g_strdup_printf (_("The device name you specified (%s) seems to be invalid."), (char *) data + data->parameters);		break;	case XINE_MSG_NETWORK_UNREACHABLE:		message = g_strdup_printf (_("The server you are trying to connect to (%s) is unreachable."), (char *) data + data->parameters);		break;	case XINE_MSG_CONNECTION_REFUSED:		message = g_strdup_printf (_("The connection to this server was refused."));		break;	case XINE_MSG_FILE_NOT_FOUND:		message = g_strdup_printf (_("The specified movie '%s' could not be found."), (char *) data + data->parameters);		break;	case XINE_MSG_READ_ERROR:		message = g_strdup_printf (_("The movie '%s' could not be read."), (char *) data + data->parameters);		break;	case XINE_MSG_LIBRARY_LOAD_ERROR:		message = g_strdup_printf (_("A problem occured while loading a library or a decoder (%s)."), (char *) data + data->parameters);		break;	case XINE_MSG_ENCRYPTED_SOURCE:		if (strncmp (bvw->priv->mrl, "dvd:", 4) == 0)			message = g_strdup (_("The source seems encrypted, and can't be read. Are you trying to play an encrypted DVD without libdvdcss?"));		else			message = g_strdup (_("This file is encrypted and cannot be played back."));		break;	case XINE_MSG_SECURITY:		message = g_strdup (_("For security reasons, this movie can not be played back."));		break;	}	if (message == NULL)	{		D("xine_event_message: unhandled error\ntype: %d", data->type);		return;	}	sigdata = g_new0 (signal_data, 1);	sigdata->signal = MESSAGE_ASYNC;	sigdata->msg = message;	g_async_queue_push (bvw->priv->queue, sigdata);	g_idle_add ((GSourceFunc) bacon_video_widget_idle_signal, bvw);}